> home > Custom Layer Boundary API

global_set_setting

January 19th 2020
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