SDL_GPUSamplerMipmapMode(3type)
π SDL_GPUSamplerMipmapMode π
okay so bestie, welcome to the SDL3 DATATYPES corner of the manual, and today's main character is SDL_GPUSamplerMipmapMode π
β¨ NAME β¨
SDL_GPUSamplerMipmapMode β literally just specifies a mipmap mode used by a sampler. that's it. that's the whole job. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_gpu.h>
typedef enum SDL_GPUSamplerMipmapMode
{
SDL_GPU_SAMPLERMIPMAPMODE_NEAREST, /**< Point filtering. */
SDL_GPU_SAMPLERMIPMAPMODE_LINEAR /**< Linear filtering. */
} SDL_GPUSamplerMipmapMode;
so we've got two whole enum values, and yes, they're both iconic in their own way π
SDL_GPU_SAMPLERMIPMAPMODE_NEARESTβ point filtering. no blending, no vibes-smoothing, just the raw nearest thing. fr fr π§SDL_GPU_SAMPLERMIPMAPMODE_LINEARβ linear filtering. soft, smooth, blurry in the best way, it's giving glow-up β¨
π¦ AVAILABILITY π¦
this enum has been around since SDL 3.2.0. she's not new new, but she's still fresh π«Ά
π SEE ALSO π
SDL_CreateGPUSampler(3)β the one that actually puts these modes to work, iykyk
and that's the whole page, no cap π
a gentle reminder from your favorite unix bestie: every flag, every value, every version number up there is exactly as the original says β the vibe is mine, the facts are hers π
Simple Directmedia Layer Β· SDL 3.4.18 Β· SDL_GPUSamplerMipmapMode(3type) β mwah, thanks for reading, ily, go sample something pretty πππΈ
π¦ 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