SDL_SetFloatProperty(3)
β¨ SDL_SetFloatProperty β¨
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, page SDL_SetFloatProperty(3), and honestly? she's a little icon π
πΈ NAME πΈ
SDL_SetFloatProperty β set a floating point property in a group of properties π«Ά
β¨ SYNOPSIS β¨
#include <SDL3/SDL_properties.h>
bool SDL_SetFloatProperty(SDL_PropertiesID props, const char *name, float value);
π FUNCTION PARAMETERS π
propsβ the properties to modify. this is the group chat you're about to send a message in π±nameβ the name of the property to modify. i.e. which message you're editing, not just any message πvalueβ the new value of the property. the actual content, and it's a float so bring your decimals, no cap π
π RETURN VALUE π
Returns true on success or false on failure. and if it fails? call SDL_GetError() for more information, because she will tell you what went wrong, periodt π₯
π§ THREAD SAFETY π§
It is safe to call this function from any thread. yes literally any thread. go off, multithreaded main character π
β AVAILABILITY β
This function is available since SDL 3.2.0. if you're on anything older, bestie, it's giving β¨nothingβ¨
π¦ SEE ALSO π¦
SDL_GetFloatProperty(3)β the read side of this whole situationship π
and that's the whole vibe, fr fr. this page came to you from Simple Directmedia Layer, SDL 3.4.18, and it's been serving SDL_SetFloatProperty(3) energy the entire time ππ stay floaty, bestie, iykyk π¦
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms