- SDL_ClearProperty
bool SDL_ClearProperty(SDL_PropertiesID props, const(char)* name)
Clear a property from a group of properties.
- SDL_CopyProperties
bool SDL_CopyProperties(SDL_PropertiesID src, SDL_PropertiesID dst)
Copy a group of properties.
- SDL_CreateProperties
SDL_PropertiesID SDL_CreateProperties()
Create a group of properties.
- SDL_DestroyProperties
void SDL_DestroyProperties(SDL_PropertiesID props)
Destroy a group of properties.
- SDL_EnumerateProperties
bool SDL_EnumerateProperties(SDL_PropertiesID props, SDL_EnumeratePropertiesCallback callback, void* userdata)
Enumerate the properties contained in a group of properties.
- SDL_GetBooleanProperty
bool SDL_GetBooleanProperty(SDL_PropertiesID props, const(char)* name, bool default_value)
Get a boolean property from a group of properties.
- SDL_GetFloatProperty
float SDL_GetFloatProperty(SDL_PropertiesID props, const(char)* name, float default_value)
Get a floating point property from a group of properties.
- SDL_GetGlobalProperties
SDL_PropertiesID SDL_GetGlobalProperties()
Get the global SDL properties.
- SDL_GetNumberProperty
Sint64 SDL_GetNumberProperty(SDL_PropertiesID props, const(char)* name, Sint64 default_value)
Get a number property from a group of properties.
- SDL_GetPointerProperty
void* SDL_GetPointerProperty(SDL_PropertiesID props, const(char)* name, void* default_value)
Get a pointer property from a group of properties.
- SDL_GetPropertyType
SDL_PropertyType SDL_GetPropertyType(SDL_PropertiesID props, const(char)* name)
Get the type of a property in a group of properties.
- SDL_GetStringProperty
const(char)* SDL_GetStringProperty(SDL_PropertiesID props, const(char)* name, const(char)* default_value)
Get a string property from a group of properties.
- SDL_HasProperty
bool SDL_HasProperty(SDL_PropertiesID props, const(char)* name)
Return whether a property exists in a group of properties.
- SDL_LockProperties
bool SDL_LockProperties(SDL_PropertiesID props)
Lock a group of properties.
- SDL_SetBooleanProperty
bool SDL_SetBooleanProperty(SDL_PropertiesID props, const(char)* name, bool value)
Set a boolean property in a group of properties.
- SDL_SetFloatProperty
bool SDL_SetFloatProperty(SDL_PropertiesID props, const(char)* name, float value)
Set a floating point property in a group of properties.
- SDL_SetNumberProperty
bool SDL_SetNumberProperty(SDL_PropertiesID props, const(char)* name, Sint64 value)
Set an integer property in a group of properties.
- SDL_SetPointerProperty
bool SDL_SetPointerProperty(SDL_PropertiesID props, const(char)* name, void* value)
Set a pointer property in a group of properties.
- SDL_SetPointerPropertyWithCleanup
bool SDL_SetPointerPropertyWithCleanup(SDL_PropertiesID props, const(char)* name, void* value, SDL_CleanupPropertyCallback cleanup, void* userdata)
Set a pointer property in a group of properties with a cleanup function
that is called when the property is deleted.
- SDL_SetStringProperty
bool SDL_SetStringProperty(SDL_PropertiesID props, const(char)* name, const(char)* value)
Set a string property in a group of properties.
- SDL_UnlockProperties
void SDL_UnlockProperties(SDL_PropertiesID props)
Unlock a group of properties.
SDL Properties