MtxStack mtx_stack;
bool mtx_changed;
+ bool matrices_loaded;
const Camera *camera;
std::vector<State> state_stack;
State *state;
/** Prepares for temporarily bypassing the Renderer by synchronizing the
current state with GL. No additional call is necessary to resume using the
- Renderer. */
+ Renderer. DEPRECATED. */
void escape();
+ /** Ends rendering, unbinding all objects and resetting state. There must
+ be no unpopped state in the stack. */
+ void end();
+
void exclude(const Renderable &);
void include(const Renderable &);