table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.26+ds-1
- unstable 3.2.26+ds-2
- experimental 3.3.2+git20251103~dc5b136+ds-1
| SDL_GPUSamplerAddressMode(3type) | SDL3 DATATYPES | SDL_GPUSamplerAddressMode(3type) |
NAME¶
SDL_GPUSamplerAddressMode - Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.
HEADER FILE¶
Defined in SDL3/SDL_gpu.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef enum SDL_GPUSamplerAddressMode
{
SDL_GPU_SAMPLERADDRESSMODE_REPEAT, /**< Specifies that the coordinates will wrap around. */
SDL_GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT, /**< Specifies that the coordinates will wrap around mirrored. */
SDL_GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE /**< Specifies that the coordinates will clamp to the 0-1 range. */
} SDL_GPUSamplerAddressMode;
AVAILABILITY¶
This enum is available since SDL 3.2.0.
SEE ALSO¶
•(3), SDL_CreateGPUSampler(3)
| SDL 3.2.10 | Simple Directmedia Layer |