SDL_GPUTextureSamplerBinding

A structure specifying parameters in a sampler binding call.

extern (C) nothrow @nogc
struct SDL_GPUTextureSamplerBinding {}

Members

Variables

sampler
SDL_GPUSampler* sampler;

The sampler to bind.

texture
SDL_GPUTexture* texture;

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

See Also

Meta