OGLplus (0.45.0) a C++ wrapper for OpenGL

oglplus::DefaultTransformFeedbackOps::Pauser Class Reference

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

Detailed Description

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.

Related OpenGL symbols:
glPauseTransformFeedback glResumeTransformFeedback

Constructor & Destructor Documentation

oglplus::DefaultTransformFeedbackOps::Pauser::Pauser ( void  )

Pauses transform feedback.

Related OpenGL symbols:
glPauseTransformFeedback

References OGLPLUS_VERIFY.

oglplus::DefaultTransformFeedbackOps::Pauser::~Pauser ( void  )

Resumes transform feedback.

Related OpenGL symbols:
glResumeTransformFeedback

References Resume().

Member Function Documentation

void oglplus::DefaultTransformFeedbackOps::Pauser::Resume ( void  )

Explicitly resumes transform feedback.

Related OpenGL symbols:
glResumeTransformFeedback

References OGLPLUS_VERIFY.

Referenced by ~Pauser().


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