Classes | |
class | oglplus::FragDataSlot |
Type for the fragment data output slot (implementation-dependent limited) number. More... | |
class | oglplus::ProgVarGetSetOps< OpsTag, tag::Uniform, T > |
Encapsulates uniform value setting functionality. More... | |
class | oglplus::UniformSubroutines |
Encapsulates the uniform subroutine setting operations. More... | |
class | oglplus::ProgVarGetSetOps< OpsTag, tag::VertexAttrib, T > |
Encapsulates vertex attribute value set functionality. More... | |
class | oglplus::VertexAttribSlot |
Type for the vertex attribute slot (implementation-dependent limited) number. More... | |
Typedefs | |
typedef ProgVar < tag::ImplicitSel, tag::FragData, tag::NoTypecheck, void > | oglplus::FragData |
Encapsulates frag data operations. More... | |
typedef ProgVar < tag::ImplicitSel, tag::UniformBlock, tag::NoTypecheck, void > | oglplus::UniformBlock |
Encapsulates uniform block operations. More... | |
Functions | |
oglplus::OGLPLUS_DECLARE_PROG_VAR (VertexAttrib, tag::ImplicitSel, tag::VertexAttrib, tag::NoTypecheck) class VertexArrayAttrib | |
Encapsulates vertex array attribute functionality. More... | |
Classes in this group are used for access to the format and values of shading language program variables, like uniforms and vertex attributes or vertex attribute arrays.
typedef ProgVar< tag::ImplicitSel, tag::FragData, tag::NoTypecheck, void> oglplus::FragData |
Encapsulates frag data operations.
typedef ProgVar< tag::ImplicitSel, tag::UniformBlock, tag::NoTypecheck, void> oglplus::UniformBlock |
Encapsulates uniform block operations.
Requires OpenGL 3.1 or the GL_ARB_uniform_buffer_object extension.
oglplus::OGLPLUS_DECLARE_PROG_VAR | ( | VertexAttrib | , |
tag::ImplicitSel | , | ||
tag::VertexAttrib | , | ||
tag::NoTypecheck | |||
) |
Encapsulates vertex array attribute functionality.
References the vertex attribute array at location
References the vertex attribute array at location
References the vertex attrib array identifier
of the program
Setup the properties of this vertex attribute array
Equivalent to
if data_type
is DataType::Float or to
if data_type
is DataType::Double or to
otherwise.
Setup the properties of this vertex attribute array
Setup the properties of this vertex attribute array
Setup the properties of this vertex attribute array
Setup the properties of this vertex attribute array
Setup the format of this vertex attribute array
Setup the format of this vertex attribute array
Setup the format of this vertex attribute array
Enables this vertex attribute array
Disables this vertex attribute array
References oglplus::Double, and oglplus::Float.