.. index:: pair: class; EE::Scene::SceneNode::Context .. _doxid-class_e_e_1_1_scene_1_1_scene_node_1_1_context: class EE::Scene::SceneNode::Context =================================== .. toctree:: :hidden: 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. :ref:`Context ` objects are movable but cannot be copied. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class Context { public: // construction :target:`Context`(:ref:`SceneNode`* scene); :target:`Context`(const Context&); :target:`Context`(Context&& other); :target:`~Context`(); // methods Context& :target:`operator=`(const Context&); Context& :target:`operator=`(Context&&); };