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

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

Availability

       This struct is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_gpu.h

Name

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

See Also

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

Simple Directmedia Layer                           SDL 3.2.10                SDL_GPUTextureSamplerBinding(3type)

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_GPUTextureSamplerBinding{SDL_GPUTexture*texture;/**<Thetexturetobind.MusthavebeencreatedwithSDL_GPU_TEXTUREUSAGE_SAMPLER.*/SDL_GPUSampler*sampler;/**<Thesamplertobind.*/}SDL_GPUTextureSamplerBinding;

See Also