SDL_GetBooleanProperty

Get a boolean property from a group of properties.

You can use SDL_GetPropertyType to query whether the property exists and is a boolean property.

extern (C) nothrow @nogc extern
bool
SDL_GetBooleanProperty

Parameters

props SDL_PropertiesID

the properties to query.

name const(char)*

the name of the property to query.

default_value bool

the default value of the property.

Return Value

Type: bool

The value of the property, or default_value if it is not set or not a boolean property.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta