SDL_GetFloatProperty

Get a floating point property from a group of properties.

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

extern (C) nothrow @nogc extern
float
SDL_GetFloatProperty

Parameters

props SDL_PropertiesID

the properties to query.

name const(char)*

the name of the property to query.

default_value float

the default value of the property.

Return Value

Type: float

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

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

See Also

Meta