> home > Custom Layer Boundary API

buffer_set_face

January 19th 2020
Change the face of a buffer

Signature

C++
b32
buffer_set_face(Application_Links* app,
                Buffer_ID buffer_id,
                Face_ID id);

Parameters

app

the standard custom layer context pointer

buffer_id

the id of the buffer to modify

id

the id of the face to set on the buffer

Return

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