A TransformFeedbackVarying encapsulates a call to glTransformFeedbackVarying. Note that if there are multiple TransformFeedbackVarying objects on a single PreLinkActionArray, then only the last one added has effect.
More...
#include <gl_program.hpp>
A TransformFeedbackVarying encapsulates a call to glTransformFeedbackVarying. Note that if there are multiple TransformFeedbackVarying objects on a single PreLinkActionArray, then only the last one added has effect.
Definition at line 268 of file gl_program.hpp.
◆ TransformFeedbackVarying()
fastuidraw::gl::TransformFeedbackVarying::TransformFeedbackVarying |
( |
GLenum |
buffer_mode = GL_INTERLEAVED_ATTRIBS | ) |
|
|
explicit |
Ctor.
- Parameters
-
buffer_mode | the buffer mode to use on glTransformFeedbackVarying. |
◆ action()
virtual void fastuidraw::gl::TransformFeedbackVarying::action |
( |
GLuint |
glsl_program | ) |
const |
|
virtual |
To be implemented by a derived class to perform an action before the GLSL program is linked. Default implementation does nothing.
- Parameters
-
glsl_program | GL name of GLSL program on which to perform the action. |
Implements fastuidraw::gl::PreLinkAction.
◆ transform_feedback_varyings() [1/2]
string_array& fastuidraw::gl::TransformFeedbackVarying::transform_feedback_varyings |
( |
void |
| ) |
|
Return the string_array holding the varyings to capture in transform feedback in the order they will be captured; modify this object the change what is captured in transform feedback.
◆ transform_feedback_varyings() [2/2]
const string_array& fastuidraw::gl::TransformFeedbackVarying::transform_feedback_varyings |
( |
void |
| ) |
const |
Return the string_array holding the varyings to capture in transform feedback in the order they will be captured.
The documentation for this class was generated from the following file:
- /home/kevin/fastuidraw.krogueintel/inc/fastuidraw/gl_backend/gl_program.hpp