class EE::Scene::SceneNode::Context¶
Scoped binding of a scene and its native graphics context on the application thread. Restores both previous bindings on destruction. The scenes and windows must outlive the scope. Context objects are movable but cannot be copied.
#include <scenenode.hpp> class Context { public: // construction Context(SceneNode* scene); Context(const Context&); Context(Context&& other); ~Context(); // methods Context& operator=(const Context&); Context& operator=(Context&&); };