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_GPUSamplerAddressMode - Specifies behavior of texture sampling when the coordinates exceed the 0-1

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;

See Also