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 πŸ’œ


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