SDL 3.0
SDL_GPUTextureSamplerBinding Struct Reference

#include <SDL_gpu.h>

Data Fields

SDL_GPUTexturetexture
 
SDL_GPUSamplersampler
 

Detailed Description

A structure specifying parameters in a sampler binding call.

Since
This struct is available since SDL 3.1.3
See also
SDL_BindGPUVertexSamplers
SDL_BindGPUFragmentSamplers

Definition at line 1851 of file SDL_gpu.h.

Field Documentation

◆ sampler

SDL_GPUSampler* SDL_GPUTextureSamplerBinding::sampler

The sampler to bind.

Definition at line 1854 of file SDL_gpu.h.

◆ texture

SDL_GPUTexture* SDL_GPUTextureSamplerBinding::texture

The texture to bind. Must have been created with SDL_GPU_TEXTUREUSAGE_SAMPLER.

Definition at line 1853 of file SDL_gpu.h.


The documentation for this struct was generated from the following file: