Scroll to navigation

SDL_TextureAccess(3type) SDL3 DATATYPES SDL_TextureAccess(3type)

NAME

SDL_TextureAccess - The access pattern allowed for a texture.

HEADER FILE

Defined in SDL3/SDL_render.h

SYNOPSIS

#include "SDL3/SDL.h"
typedef enum SDL_TextureAccess
{
    SDL_TEXTUREACCESS_STATIC,    /**< Changes rarely, not lockable */
    SDL_TEXTUREACCESS_STREAMING, /**< Changes frequently, lockable */
    SDL_TEXTUREACCESS_TARGET     /**< Texture can be used as a render target */
} SDL_TextureAccess;

AVAILABILITY

This enum is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer