table of contents
other versions
- trixie 3.2.10+ds-1
- testing 3.2.26+ds-1
- unstable 3.2.26+ds-2
- experimental 3.3.2+git20251103~dc5b136+ds-1
| SDL_GPUTextureSamplerBinding(3type) | SDL3 DATATYPES | SDL_GPUTextureSamplerBinding(3type) |
NAME¶
SDL_GPUTextureSamplerBinding - A structure specifying parameters in a sampler binding call.
SYNOPSIS¶
#include <SDL3/SDL_gpu.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¶
SDL_BindGPUVertexSamplers(3), SDL_BindGPUFragmentSamplers(3), SDL_GPUTexture(3type), SDL_GPUSampler(3type)
| SDL 3.3.3 | Simple Directmedia Layer |