SDL_GPUSamplerAddressMode - Specifies behavior of texture sampling when the coordinates exceed the 0-1
Contents
Availability
This enum is available since SDL 3.2.0.
Name
SDL_GPUSamplerAddressMode - Specifies behavior of texture sampling when the coordinates exceed the 0-1
range.
See Also
SDL_CreateGPUSampler(3) Simple Directmedia Layer SDL 3.2.20 SDL_GPUSamplerAddressMode(3type)
Synopsis
#include<SDL3/SDL_gpu.h>typedefenumSDL_GPUSamplerAddressMode{SDL_GPU_SAMPLERADDRESSMODE_REPEAT,/**<Specifiesthatthecoordinateswillwraparound.*/SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT,/**<Specifiesthatthecoordinateswillwraparoundmirrored.*/SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE/**<Specifiesthatthecoordinateswillclamptothe0-1range.*/}SDL_GPUSamplerAddressMode;