Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ setContext()

void Flint::UINode::setContext ( UIContext * context)

Recursively propagates a pointer back to the parent-managing workspace layer.

Note
This acts as the context assembly loop. If a node mounting to a new tree carries an identification string that collides with an existing registered asset, its ID is cleared to prevent tree lookup failures.
Parameters
contextNon-owning reference link to the managing UIContext workspace canvas.