SDL_GPUSampler(3type)
β¨ NAME β¨
okay bestie, meet SDL_GPUSampler(3type), from the SDL3 DATATYPES manual. This thing is an opaque handle representing a sampler. That's the whole personality: no fields, no peeking, just a mysterious little token you pass around. π
π¦ SYNOPSIS π¦
You get it by including:
#include <SDL3/SDL_gpu.h>
typedef struct SDL_GPUSampler SDL_GPUSampler;
So the type is literally named SDL_GPUSampler, and the struct stays opaque. The way that typedef ate and left no crumbs. β¨
π AVAILABILITY π
This struct is available since SDL 3.2.0. If your SDL is older than that, it's not giving, sorry. π
π₯ SEE ALSO π₯
SDL_CreateGPUSampler(3)SDL_BindGPUVertexSamplers(3)SDL_BindGPUFragmentSamplers(3)SDL_ReleaseGPUSampler(3)
That's the page, periodt. Source: Simple Directmedia Layer, version SDL 3.4.18, and this manual page is SDL_GPUSampler(3type) β the footer's date is a mystery, iykyk. Go forth and sample slay. π«Άπβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms