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 πŸ”₯


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