logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_SurfaceFlags - The flags on an SDL_Surface .

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                            SDL_SurfaceFlags(3type)

Description

       These are generally considered read-only.

Header File

       Defined in SDL3/SDL_surface.h

Name

       SDL_SurfaceFlags - The flags on an SDL_Surface .

Synopsis

#include"SDL3/SDL.h"typedefUint32SDL_SurfaceFlags;#defineSDL_SURFACE_PREALLOCATED0x00000001u/**<Surfaceusespreallocatedpixelmemory*/#defineSDL_SURFACE_LOCK_NEEDED0x00000002u/**<Surfaceneedstobelockedtoaccesspixels*/#defineSDL_SURFACE_LOCKED0x00000004u/**<Surfaceiscurrentlylocked*/#defineSDL_SURFACE_SIMD_ALIGNED0x00000008u/**<SurfaceusespixelmemoryallocatedwithSDL_aligned_alloc()*/

See Also