Get the current number of items in a group of properties.
Defined in <SDL3/SDL_properties.h>
int SDL_GetNumProperties(SDL_PropertiesID props);| SDL_PropertiesID | props | the properties to query. |
(int) Returns the number of property items available.
For an invalid SDL_PropertiesID, this returns zero and does not set an error message.
It is safe to call this function from any thread.
This function is available since SDL 3.6.0.