SDL_GPUTextureSamplerBinding.3type - Man Page

A structure specifying parameters in a sampler binding call.

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#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;

Availability

This struct is available since SDL 3.2.0.

See Also

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

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES