> home > Custom Layer Boundary API

view_push_context

September 8th 2024
Push a view's stack of context details with a pointer to the new values for the context

Signature

C++
b32
view_push_context(Application_Links* app,
                  View_ID view_id,
                  View_Context* ctx);

Parameters

app

the standard custom layer context pointer

view_id

the id of the view to modify

ctx

the new field values of the view context details to be copied onto the top of the stack

Return

non-zero if the view exists, otherwise zero

Related

View_Context