SDL_SetNumberProperty - Set an integer property in a group of properties.
Contents
Availability
This function is available since SDL 3.2.0.
Function Parameters
props the properties to modify.
name the name of the property to modify.
value the new value of the property.
Header File
Defined in SDL3/SDL_properties.h
Name
SDL_SetNumberProperty - Set an integer property in a group of properties.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
See Also
•(3), SDL_GetNumberProperty(3) Simple Directmedia Layer SDL 3.2.10 SDL_SetNumberProperty(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_SetNumberProperty(SDL_PropertiesIDprops,constchar*name,Sint64value);
Thread Safety
It is safe to call this function from any thread.
