SDL_SurfaceFlags - The flags on an SDL_Surface .
Contents
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()*/
