> home > Custom Layer Boundary API

view_get_setting

September 8th 2024
Retrieve a core setting of a view

Signature

C++
b32
view_get_setting(Application_Links* app,
                 View_ID view_id,
                 View_Setting_ID setting,
                 i64* value_out);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to query

setting

the id of the setting to query

value_out

the output destination of the setting's value

Return

non-zero on success, when the view and setting exist, zero otherwise

Related

View_Setting_ID