void SetNumVertexAttribs |
( |
unsigned char |
value | ) |
|
|
inline |
Set the number of generic vertex attributes stored in the resource. Generic vertex attributes are passed to OpenGL using glVertexAttribPointer. These are special attributes to be used by the vertex shader.
- Parameters
-
value | The new number of generic vertex attributes |
- See also
- SetVertexAttribSizeBytes
void SetVertexAttribComponents |
( |
unsigned char |
which, |
|
|
GLint |
value |
|
) |
| |
|
inline |
Set the size (number of components) in the generic vertex attribute See documentation on glVertexAttribPointer for details
void SetVertexAttribNormalize |
( |
unsigned char |
which, |
|
|
GLboolean |
value |
|
) |
| |
|
inline |
Set whether fixed-point data values should be normalized (Default is false) See documentation on glVertexAttribPointer for details
void SetVertexAttribSemantic |
( |
unsigned char |
which, |
|
|
int |
semanticEnum |
|
) |
| |
|
inline |
Set semantic of a given generic vertex attribute The semantic value can be used to determine the "meaning" of the vertex attribute
- Parameters
-
which | Which vertex attrib to set |
semanticEnum | The new sematic value (see AttributeSemanticEnum) |
void SetVertexAttribType |
( |
unsigned char |
which, |
|
|
GLenum |
value |
|
) |
| |
|
inline |
Set the type of a given generic vertex attribute See documentation on glVertexAttribPointer for details
The documentation for this class was generated from the following file: