Class lifetime of which controls the pausing/resuming of TFB. More...
#include </home/chochlik/devel/oglplus/include/oglplus/transform_feedback.hpp>
Public Member Functions | |
Pauser (void) | |
Pauses transform feedback. More... | |
void | Resume (void) |
Explicitly resumes transform feedback. More... | |
~Pauser (void) | |
Resumes transform feedback. More... | |
Class lifetime of which controls the pausing/resuming of TFB.
This class pauses active transform feedback when it is constructed and resumes it in destructor. It is a more robust and preferred mode of transform feedback activation and deactivation.
This class is non-copyable.
oglplus::DefaultTransformFeedbackOps::Pauser::Pauser | ( | void | ) |
Pauses transform feedback.
References OGLPLUS_VERIFY.
oglplus::DefaultTransformFeedbackOps::Pauser::~Pauser | ( | void | ) |
void oglplus::DefaultTransformFeedbackOps::Pauser::Resume | ( | void | ) |
Explicitly resumes transform feedback.
References OGLPLUS_VERIFY.
Referenced by ~Pauser().