Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <VertexAttributeArray.hpp>

Public Member Functions | |
| virtual const char * | className () |
| Returns the name of the class. | |
| VertexAttributeArray (unsigned int location, bool normalize, bool pure_integer, ArrayAbstract *data) | |
| VertexAttributeArray () | |
| ArrayAbstract * | data () const |
| The GPU buffer that stores the data. | |
| unsigned int | attribIndex () const |
| The 'index' parameter of the vertex attribute as used with glVertexAttribPointer() and glEnableVertexAttribArray(). | |
| bool | normalize () const |
| The 'normalized' parameter as used with glVertexAttribPointer(). | |
| bool | pureInteger () const |
| If set to true glVertexAttribIPointer() will be used instead of glVertexAttribPointer(). | |
| void | setData (ArrayAbstract *data) |
| The GPU buffer that stores the data. | |
| void | setAttribIndex (unsigned int index) |
| The 'index' parameter of the vertex attribute as used with glVertexAttribPointer() and glEnableVertexAttribArray(). | |
| void | setNormalize (bool normalize) |
| The 'normalized' parameter as used with glVertexAttribPointer(). | |
| void | setPureInteger (bool pure_integer) |
| If set to true glVertexAttribIPointer() will be used instead of glVertexAttribPointer(). | |
Protected Attributes | |
| ref< ArrayAbstract > | mData |
| unsigned int | mAttribIndex |
| bool | mNormalize |
| bool | mPureInteger |
| vl::VertexAttributeArray::VertexAttributeArray | ( | unsigned int | location, | |
| bool | normalize, | |||
| bool | pure_integer, | |||
| ArrayAbstract * | data | |||
| ) | [inline] |
| vl::VertexAttributeArray::VertexAttributeArray | ( | ) | [inline] |
| virtual const char* vl::VertexAttributeArray::className | ( | ) | [inline, virtual] |
| ArrayAbstract* vl::VertexAttributeArray::data | ( | ) | const [inline] |
The GPU buffer that stores the data.
| unsigned int vl::VertexAttributeArray::attribIndex | ( | ) | const [inline] |
The 'index' parameter of the vertex attribute as used with glVertexAttribPointer() and glEnableVertexAttribArray().
| bool vl::VertexAttributeArray::normalize | ( | ) | const [inline] |
The 'normalized' parameter as used with glVertexAttribPointer().
| bool vl::VertexAttributeArray::pureInteger | ( | ) | const [inline] |
If set to true glVertexAttribIPointer() will be used instead of glVertexAttribPointer().
This feature requires GL_EXT_gpu_shader4.
| void vl::VertexAttributeArray::setData | ( | ArrayAbstract * | data | ) | [inline] |
The GPU buffer that stores the data.
| void vl::VertexAttributeArray::setAttribIndex | ( | unsigned int | index | ) | [inline] |
The 'index' parameter of the vertex attribute as used with glVertexAttribPointer() and glEnableVertexAttribArray().
| void vl::VertexAttributeArray::setNormalize | ( | bool | normalize | ) | [inline] |
The 'normalized' parameter as used with glVertexAttribPointer().
| void vl::VertexAttributeArray::setPureInteger | ( | bool | pure_integer | ) | [inline] |
If set to true glVertexAttribIPointer() will be used instead of glVertexAttribPointer().
This feature requires GL_EXT_gpu_shader4.
ref<ArrayAbstract> vl::VertexAttributeArray::mData [protected] |
unsigned int vl::VertexAttributeArray::mAttribIndex [protected] |
bool vl::VertexAttributeArray::mNormalize [protected] |
bool vl::VertexAttributeArray::mPureInteger [protected] |