> home > Custom Layer Boundary API

global_set_setting

September 8th 2024
Modify a core setting

Signature

C++
b32
global_set_setting(Application_Links* app,
                   Global_Setting_ID setting,
                   i64 value);

Parameters

app

the standard custom layer context pointer

setting

the id of the setting to set

value

the new value for the setting

Return

non-zero when the setting is valid and updated without error, zero otherwise

Related

Global_Setting_ID