Class lifetime of which controls the (de)activation of TFB. More...
#include </home/chochlik/devel/oglplus/include/oglplus/transform_feedback.hpp>
Public Member Functions | |
Activator (TransformFeedbackPrimitiveType mode) | |
Begins transform feedback. More... | |
Activator (const Activator &)=delete | |
Copying is disabled. | |
~Activator (void) | |
Ends transform feedback. More... | |
Class lifetime of which controls the (de)activation of TFB.
This class activates transform feedback mode when it is constructed and deactivates it in destructor. It is a more robust and preferred mode of transform feedback activation and deactivation.
This class is non-copyable.
oglplus::DefaultTransformFeedbackOps::Activator::Activator | ( | TransformFeedbackPrimitiveType | mode) |
Begins transform feedback.
References OGLPLUS_VERIFY.
oglplus::DefaultTransformFeedbackOps::Activator::~Activator | ( | void | ) |
Ends transform feedback.