> home > Custom Layer Boundary API

buffer_set_setting

September 8th 2024
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