OGLplus (0.45.0) a C++ wrapper for OpenGL

oglplus::DefaultTransformFeedbackOps::Activator Class Reference

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...
 

Detailed Description

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.

Related OpenGL symbols:
glBeginTransformFeedback glEndTransformFeedback

Constructor & Destructor Documentation

oglplus::DefaultTransformFeedbackOps::Activator::Activator ( TransformFeedbackPrimitiveType  mode)

Begins transform feedback.

Related OpenGL symbols:
glBeginTransformFeedback

References OGLPLUS_VERIFY.

oglplus::DefaultTransformFeedbackOps::Activator::~Activator ( void  )

Ends transform feedback.

Related OpenGL symbols:
glEndTransformFeedback

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Wed Apr 30 2014 by Doxygen (version 1.8.4).