Closed karldd closed 9 years ago
Hi,
The Activator
uses the RAII idiom so it calls glBeginTFb/glEndTFb automatically in constructor/destructor.
But in order to use the TransformFeedback
class you need either (GL 4.0 or GL_ARB_transform_feedback2). Otherwise only the default transform feedback is available, which does not support named object binding, etc. In such case you need to use the DefaultTransformFeedback
class:
DefaultTransformFeedback::Activator xfb_act(...);
HTH
Matus
Thanks!
I've noted in the documentation that an Activator "is a more robust and preferred mode of transform feedback activation and deactivation". Can you elaborate on that and the differences with
DefaultTransformFeedback::Begin(); DefaultTransformFeedback::End();
?Specifically, I'm trying to support OpenGL 3.2 and when using the following line from the examples:
I get:
Thanks!