Skip to content

TSdlGpuSamplerAddressMode

Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.

Definition

Unit: Neslib.Sdl3.Gpu

type TSdlGpuSamplerAddressMode = (&Repeat, MirroredRepeat, ClampToEdge)

See Also

Enumeration Values

&Repeat = SDL_GPU_SAMPLERADDRESSMODE_REPEAT

Specifies that the coordinates will wrap around.


MirroredRepeat = SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT

Specifies that the coordinates will wrap around mirrored.


ClampToEdge = SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE

Specifies that the coordinates will clamp to the 0-1 range.