table of contents
other versions
- experimental 3.5~git20260804~f661f37+ds-1
| SDL_GetNumProperties(3) | SDL3 FUNCTIONS | SDL_GetNumProperties(3) |
NAME¶
SDL_GetNumProperties - Get the current number of items in a group of properties.
SYNOPSIS¶
#include <SDL3/SDL_properties.h>
int SDL_GetNumProperties(SDL_PropertiesID props);
DESCRIPTION¶
For an invalid SDL_PropertiesID, this returns zero and does not set an error message.
FUNCTION PARAMETERS¶
- props
- the properties to query.
RETURN VALUE¶
Returns the number of property items available.
THREAD SAFETY¶
It is safe to call this function from any thread.
AVAILABILITY¶
This function is available since SDL 3.6.0.
| SDL 3.5.0 | Simple Directmedia Layer |