A PreLinkActionArray is a conveniance class wrapper over an array of PreLinkAction handles.
More...
#include <gl_program.hpp>
A PreLinkActionArray is a conveniance class wrapper over an array of PreLinkAction handles.
Definition at line 311 of file gl_program.hpp.
◆ PreLinkActionArray() [1/2]
fastuidraw::gl::PreLinkActionArray::PreLinkActionArray |
( |
void |
| ) |
|
◆ PreLinkActionArray() [2/2]
Copy ctor.
- Parameters
-
obj | value from which to copy |
◆ add()
Add a prelink action to execute.
- Parameters
-
◆ add_binding()
Provided as a conveniance, equivalent to
- Parameters
-
pname | name of the attribute |
plocation | location to which to bind the attribute. |
Definition at line 357 of file gl_program.hpp.
◆ add_frag_binding()
Provided as a conveniance, equivalent to
- Parameters
-
pname | name of the attribute |
plocation | location for fragment shader output to occupy |
pindex | index (used for dual source blending) for fragment shader output to occupy |
Definition at line 375 of file gl_program.hpp.
◆ execute_actions()
void fastuidraw::gl::PreLinkActionArray::execute_actions |
( |
GLuint |
glsl_program | ) |
const |
◆ operator=()
Assignment operator.
- Parameters
-
rhs | value from which to copy. |
◆ set_transform_feedback()
PreLinkActionArray& fastuidraw::gl::PreLinkActionArray::set_transform_feedback |
( |
const string_array & |
varyings, |
|
|
GLenum |
buffer_mode = GL_INTERLEAVED_ATTRIBS |
|
) |
| |
|
inline |
Provided as a conveniance, equivalent to
reference_counted_ptr<TransformFeedbackVarying> h;
h = TransformFeedbackVarying(buffer_mode);
h->transform_feedback_varyings() = varyings;
- Parameters
-
varyings | list of varyings to capture for transform feedback |
buffer_mode | buffer mode (i.e. interleaved or not) for transform feedback |
Definition at line 394 of file gl_program.hpp.
◆ swap()
Swap operation
- Parameters
-
obj | object with which to swap |
The documentation for this class was generated from the following file:
- /home/kevin/fastuidraw.krogueintel/inc/fastuidraw/gl_backend/gl_program.hpp