Skip to content

TSdlSurfaceFlag

The flags on a TSdlSurface.

These are generally considered read-only.

Definition

Unit: Neslib.Sdl3.Video

type TSdlSurfaceFlag = (Preallocated, LockNeeded, IsLocked, SimdAligned)

Enumeration Values

Preallocated = 0

Surface uses preallocated pixel memory.


LockNeeded = 1

Surface needs to be locked to access pixels.


IsLocked = 2

Surface is currently locked.


SimdAligned = 3

Surface uses pixel memory allocated with SdlAlignedAlloc.