> home > Custom Layer Boundary API

buffer_get_setting

January 19th 2020
Retrieve a core setting of a buffer

Signature

C++
b32
buffer_get_setting(Application_Links* app,
                   Buffer_ID buffer_id,
                   Buffer_Setting_ID setting,
                   i64* value_out);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer 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 buffer and setting exist, zero otherwise

Related

Buffer_Setting_ID