SDL_GetPropertyType(3)
πΈ SDL_GetPropertyType(3) πΈ
okay so bestie, welcome to the SDL3 FUNCTIONS manual β and today's main character is SDL_GetPropertyType(3) π the way this function just gets the type of a property in a group of properties is so iconic, no cap π
β¨ NAME β¨
SDL_GetPropertyType β gets the type of a property in a group of properties. like, you point at a property and it tells you what kind of vibe it has π₯
π SYNOPSIS π
#include <SDL3/SDL_properties.h>
SDL_PropertyType SDL_GetPropertyType(SDL_PropertiesID props, const char *name);
π FUNCTION PARAMETERS π
propsβ the properties to query. this is the group of properties you're checking, bestie.nameβ the name of the property to query. the specific one you're curious about π
π RETURN VALUE π
Returns the type of the property, or SDL_PROPERTY_TYPE_INVALID if it is not set. so if it's not there, you get that invalid signal, periodt.
π§΅ THREAD SAFETY π§΅
It is safe to call this function from any thread. so go off, call it from wherever, it's giving responsible π
β AVAILABILITY β
This function is available since SDL 3.2.0. so if you're on something older, it's not gonna be there, sorry bestie π
π SEE ALSO π
anyway, this page is from Simple Directmedia Layer, SDL 3.4.18, and it's the SDL_GetPropertyType(3) manual page. stay slay, bye π«Άβ¨
π¦ 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