SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_GetNumProperties

Get the current number of items in a group of properties.

Header File

Defined in <SDL3/SDL_properties.h>

Syntax

int SDL_GetNumProperties(SDL_PropertiesID props);

Function Parameters

SDL_PropertiesID props the properties to query.

Return Value

(int) Returns the number of property items available.

Remarks

For an invalid SDL_PropertiesID, this returns zero and does not set an error message.

Thread Safety

It is safe to call this function from any thread.

Version

This function is available since SDL 3.6.0.


CategoryAPI, CategoryAPIFunction, CategoryProperties


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.