SDL_EnumerateProperties - Enumerate the properties contained in a group of properties.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_EnumerateProperties(3)
Description
The callback function is called for each property in the group of properties. The properties are locked
during enumeration.
Function Parameters
props the properties to query.
callback
the function to call for each property.
userdata
a pointer that is passed to callback .
Header File
Defined in SDL3/SDL_properties.h
Name
SDL_EnumerateProperties - Enumerate the properties contained in a group of properties.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Synopsis
#include"SDL3/SDL.h"boolSDL_EnumerateProperties(SDL_PropertiesIDprops,SDL_EnumeratePropertiesCallbackcallback,void*userdata);
Thread Safety
It is safe to call this function from any thread.
