SDL_GPUSupportsProperties(3)

πŸ’– SDL_GPUSupportsProperties πŸ’–

okay so bestie, welcome to the SDL3 FUNCTIONS manual, and today's main character is SDL_GPUSupportsProperties β€” she's the vibe check for your GPU runtime support. no cap.


✨ NAME ✨

SDL_GPUSupportsProperties β€” checks for GPU runtime support. that's it, that's the whole job, and she does it flawlessly πŸ’…


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_gpu.h>

bool SDL_GPUSupportsProperties(
    SDL_PropertiesID props);

like yes, that's literally the entire incantation. include the header, call the function, slay. πŸ¦‹


πŸŽ€ FUNCTION PARAMETERS πŸŽ€

  • props β€” the properties to use. that's the whole tea, she just wants your SDL_PropertiesID and she'll take it from there 🫢

⭐ RETURN VALUE ⭐

Returns true if supported, false otherwise. two options, both iconic, both valid. it's giving binary, because it literally is πŸ’€

ngl, a false here is not a personal attack, it's just the truth. accept the vibe check gracefully 🧚

🌈 AVAILABILITY 🌈

This function is available since SDL 3.2.0. so if you're on something older, no she is not there yet, upgrade bestie 😭


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page fr fr β€” brought to you by Simple Directmedia Layer, SDL 3.4.18, dated with the SDL_GPUSupportsProperties(3) energy it deserves. stay hydrated, read your manpages, and go support some properties βœ¨πŸŽ€πŸ’–

πŸ“¦ where this page comes from