table of contents
other versions
- experimental 3.3~git20250806+ds-1
SDL_TextureAddressMode(3type) | SDL3 DATATYPES | SDL_TextureAddressMode(3type) |
NAME¶
SDL_TextureAddressMode - The addressing mode for a texture when used in SDL_RenderGeometry().
SYNOPSIS¶
#include <SDL3/SDL_render.h>
typedef enum SDL_TextureAddressMode { SDL_TEXTURE_ADDRESS_INVALID = -1, SDL_TEXTURE_ADDRESS_AUTO, /**< Wrapping is enabled if texture coordinates are outside [0, 1], this is the default */ SDL_TEXTURE_ADDRESS_CLAMP, /**< Texture coordinates are clamped to the [0, 1] range */ SDL_TEXTURE_ADDRESS_WRAP /**< The texture is repeated (tiled) */ } SDL_TextureAddressMode;
DESCRIPTION¶
This affects how texture coordinates are interpreted outside of [0, 1]
AVAILABILITY¶
This enum is available since SDL 3.4.0.
SDL 3.3.0 | Simple Directmedia Layer |