SDL_ALPHA_OPAQUE_FLOAT(3)

πŸ’– SDL_ALPHA_OPAQUE_FLOAT(3) β€” the SDL3 FUNCTIONS girlies know πŸ’–

okay bestie, welcome to the SDL_ALPHA_OPAQUE_FLOAT page, part of the SDL3 FUNCTIONS manual πŸ’… this one's short but it's iconic, lowkey the main character of "yes this pixel is fully here".


✨ NAME ✨

SDL_ALPHA_OPAQUE_FLOAT β€” a fully opaque floating point alpha value 🫢

like, the alpha-est alpha. no cap.


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_pixels.h>

#define SDL_ALPHA_OPAQUE_FLOAT 1.0f

so you pull in the header, and the macro is just sitting there being 1.0f. that's it. that's the whole vibe. fully opaque, fr fr πŸ’–


πŸ¦‹ AVAILABILITY πŸ¦‹

this macro is available since SDL 3.2.0 ⭐ so if you're on anything older, sorry babe, it's not giving.


πŸŽ€ SEE ALSO πŸŽ€


and that's the page!! 🌈 this diva of a manual page comes to you from Simple Directmedia Layer, version SDL 3.4.18 πŸ’œ mwah, go make something fully opaque with it. periodt. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from