Base class for arbitrary vertex attribute arrays.
More...
#include </home/werner/origo/vish/ocean/GLvish/ArrayTypes.hpp>
List of all members.
Public Member Functions
-
override bool activate (const Anemone &)
-
virtual GLint components () const =0
-
override bool deactivate (const Anemone &)
-
override bool disable () const
-
bool disableByID (GLuint Index) const
-
override bool enable () const
-
bool enableByID (GLuint Index) const
-
virtual GLenum type () const =0
-
VertexAttribArray (GLuint idx)
-
VertexAttribArray (const std::string &attrib_name)
- Load an vertex attribute array relative to a shader through the Anemonia API.
Public Attributes
-
std::string attribute_name
- The attribute name, as it will be retrieved from a shader program.
-
GLuint index
- The attribute index, as retrieved from a shader program.
-
GLboolean normalized
-
GLsizei stride
Detailed Description
Base class for arbitrary vertex attribute arrays.
Need to define the index member.
The documentation for this class was generated from the following file:
- ocean/GLvish/ArrayTypes.hpp