class EE::UI::UISceneNode::Context

Scoped binding of a UI scene and its native graphics context. Restores both previous bindings when destroyed. Context objects are movable but cannot be copied.

#include <uiscenenode.hpp>

class Context {
public:
    // construction

    Context(UISceneNode* scene);
    Context(const Context&);
    Context(Context&& other);
    ~Context();

    // methods

    Context& operator=(const Context&);
    Context& operator=(Context&&);
};