> home > Custom Layer Boundary API

buffer_set_setting

January 19th 2020
Retrieve a core setting of a buffer

Signature

C++
b32
buffer_set_setting(Application_Links* app,
                   Buffer_ID buffer_id,
                   Buffer_Setting_ID setting,
                   i64 value);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to modify

setting

the id of the setting to modify

value

the new value of the specified setting

Return

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

Related

Buffer_Setting_ID