logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

SDL_SetNumberProperty - Set an integer property in a group of properties.

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.

See Also