Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_SetFloatProperty - Set a floating point 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_SetFloatProperty - Set a floating point 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_GetFloatProperty(3)

Simple Directmedia Layer                           SDL 3.2.10                            SDL_SetFloatProperty(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_SetFloatProperty(SDL_PropertiesIDprops,constchar*name,floatvalue);

Thread Safety

       It is safe to call this function from any thread.

See Also