SDL_EnumeratePropertiesCallback(3type)

SDL_EnumeratePropertiesCallback3type

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

Usage

#include "SDL3/SDL.h"

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

Header file

Defined in SDL3/SDL_properties.h

Overview

This callback is called from

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

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.

Thread safety

SDL_EnumerateProperties
holds a lock on props during this callback.

Availability

This datatype is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.