OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::ObjectOps< tag::DirectState, tag::TransformFeedback > Class Template Reference

Class wrapping transform feedback-related functionality with direct state access. More...

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

Inheritance diagram for oglplus::ObjectOps< tag::DirectState, tag::TransformFeedback >:
Collaboration diagram for oglplus::ObjectOps< tag::DirectState, tag::TransformFeedback >:

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 Bind (Target target, TransformFeedbackName tfb)
 Binds the specified transform feedback to the specified target. More...
 
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...
 

Detailed Description

template<>
class oglplus::ObjectOps< tag::DirectState, tag::TransformFeedback >

Class wrapping transform feedback-related functionality with direct state access.

Note
Do not use this class directly, use DSATransformFeedback instead.

Member Function Documentation

static void oglplus::ObjCommonOps< tag::TransformFeedback >::Begin ( TransformFeedbackPrimitiveType  mode)
staticinherited

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

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

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

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