OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjCommonOps< tag::TransformFeedback > Class Template Reference

Common transform feedback operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/transform_feedback.hpp>

Inheritance diagram for oglplus::ObjCommonOps< tag::TransformFeedback >:
Collaboration diagram for oglplus::ObjCommonOps< tag::TransformFeedback >:

Classes

class  Activator
 Class lifetime of which controls the (de)activation of TFB. More...
 
class  Pauser
 Class lifetime of which controls the pausing/resuming of TFB. More...
 

Public Types

typedef TransformFeedbackTarget Target
 TransformFeedback bind targets.
 

Public Member Functions

void Bind (Target target=Target::TransformFeedback) const
 Binds this transform feedback to the specified target. More...
 

Static Public Member Functions

static void Begin (TransformFeedbackPrimitiveType mode)
 Begin the transform feedback mode. More...
 
static void BeginPoints (void)
 Begin the transform feedback mode with POINTS.
 
static void BeginLines (void)
 Begin the transform feedback mode with LINES.
 
static void BeginTriangles (void)
 Begin the transform feedback mode with TRIANGLES.
 
static void End (void)
 End the transform feedback mode. More...
 
static void Pause (void)
 Pause the transform feedback mode. More...
 
static void Resume (void)
 Resume the transform feedback mode. More...
 
static TransformFeedbackName Binding (Target target)
 Returns the current TransformFeedback bound to specified target. More...
 
static void Bind (Target target, TransformFeedbackName tfb)
 Binds the specified transform feedback to the specified target. More...
 

Detailed Description

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

Common transform feedback operations.

Note
Do not use this class directly, use TransformFeedback or DefaultTransformFeedback instead.

Member Function Documentation

Begin the transform feedback mode.

Consider using an instance of Activator class for more robustness.

Exceptions
Error
See Also
Activator
End
Related OpenGL symbols:
glBeginTransformFeedback
static void oglplus::ObjBindingOps< tag::TransformFeedback >::Bind ( Target  target,
TransformFeedbackName  tfb 
)
staticinherited

Binds the specified transform feedback to the specified target.

Related OpenGL symbols:
glBindTransformFeedback

References oglplus::GetGLName().

Binds this transform feedback to the specified target.

Related OpenGL symbols:
glBindTransformFeedback
static TransformFeedbackName oglplus::ObjBindingOps< tag::TransformFeedback >::Binding ( Target  target)
staticinherited

Returns the current TransformFeedback bound to specified target.

Related OpenGL symbols:
glGetIntegerv
static void oglplus::ObjCommonOps< tag::TransformFeedback >::End ( void  )
static

End the transform feedback mode.

Consider using an instance of Activator class for more robustness.

Exceptions
Error
See Also
Activator
Begin
Related OpenGL symbols:
glEndTransformFeedback
static void oglplus::ObjCommonOps< tag::TransformFeedback >::Pause ( void  )
static

Pause the transform feedback mode.

Consider using an instance of Pauser class for more robustness.

Exceptions
Error
See Also
Pauser
Resume
Related OpenGL symbols:
glPauseTransformFeedback
static void oglplus::ObjCommonOps< tag::TransformFeedback >::Resume ( void  )
static

Resume the transform feedback mode.

Consider using an instance of Pauser class for more robustness.

Exceptions
Error
See Also
Pauser
Pause
Related OpenGL symbols:
glResumeTransformFeedback

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