Function SDL_EnumerateProperties
pub unsafe extern "C" fn SDL_EnumerateProperties(
props: u32,
callback: Option<unsafe extern "C" fn(_: *mut c_void, _: u32, _: *const i8)>,
userdata: *mut c_void,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Enumerate the properties contained in a group of properties.
The callback function is called for each property in the group of properties. The properties are locked during enumeration.
§Parameters
props
: the properties to query.callback
: the function to call for each property.userdata
: a pointer that is passed tocallback
.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.