> home > Custom Layer Boundary API

buffer_exists

September 8th 2024
Check that a buffer id represents a real buffer

Signature

C++
b32
buffer_exists(Application_Links* app,
              Buffer_ID buffer_id);

Parameters

app

the standard custom layer context pointer

buffer_id

the buffer id to check

Return

non-zero if the buffer exists, zero otherwise