Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_TextureAccess - The access pattern allowed for a texture.

Availability

       This enum is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                           SDL_TextureAccess(3type)

Header File

       Defined in SDL3/SDL_render.h

Name

       SDL_TextureAccess - The access pattern allowed for a texture.

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_TextureAccess{SDL_TEXTUREACCESS_STATIC,/**<Changesrarely,notlockable*/SDL_TEXTUREACCESS_STREAMING,/**<Changesfrequently,lockable*/SDL_TEXTUREACCESS_TARGET/**<Texturecanbeusedasarendertarget*/}SDL_TextureAccess;

See Also