OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjCommonOps< tag::TransformFeedback >::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

template<>
class oglplus::ObjCommonOps< tag::TransformFeedback >::Activator

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

Begins transform feedback.

Related OpenGL symbols:
glBeginTransformFeedback
oglplus::ObjCommonOps< tag::TransformFeedback >::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 Mon Sep 22 2014 by Doxygen (version 1.8.6).