DOKK / manpages / debian 13 / libsdl3-doc / SDL_GPUTextureSamplerBinding.3type.en
SDL_GPUTextureSamplerBinding(3type) SDL3 DATATYPES SDL_GPUTextureSamplerBinding(3type)

SDL_GPUTextureSamplerBinding - A structure specifying parameters in a sampler binding call.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
typedef struct SDL_GPUTextureSamplerBinding
{
    SDL_GPUTexture *texture;  /**< The texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_SAMPLER. */
    SDL_GPUSampler *sampler;  /**< The sampler to bind. */
} SDL_GPUTextureSamplerBinding;

This struct is available since SDL 3.2.0.

(3), SDL_BindGPUVertexSamplers(3), (3), SDL_BindGPUFragmentSamplers(3)

SDL 3.2.10 Simple Directmedia Layer