SDL Wiki
(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_EnumeratePropertiesCallback

A callback used to enumerate all the properties in a group of properties.

Header File

Defined in <SDL3/SDL_properties.h>

Syntax

typedef void (SDLCALL *SDL_EnumeratePropertiesCallback)(void *userdata, SDL_PropertiesID props, const char *name);

Function Parameters

userdata an app-defined pointer passed to the callback.
props the SDL_PropertiesID that is being enumerated.
name the next property name in the enumeration.

Remarks

This callback is called from SDL_EnumerateProperties(), and is called once per property in the set.

Thread Safety

SDL_EnumerateProperties holds a lock on props during this callback.

Version

This datatype is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIDatatype, CategoryProperties


[ edit | delete | history | feedback | raw ]

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

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