![]() |
SLProject 4.0.000
|
Struct for vertex attribute information. More...
#include <SLGLVertexBuffer.h>
Public Attributes | |
| SLGLAttributeType | type |
| type of vertex attribute More... | |
| SLint | elementSize |
| size of attribute element (SLVec3f has 3) More... | |
| SLGLBufferType | dataType |
| SLuint | offsetBytes |
| Data Type (BT_float, BT_ubyte,...) More... | |
| SLuint | bufferSizeBytes |
| size of the attribute part in the buffer More... | |
| void * | dataPointer |
| pointer to the attributes source data More... | |
| SLint | location |
| GLSL input variable location index. More... | |
Struct for vertex attribute information.
| SLuint SLGLAttribute::bufferSizeBytes |
size of the attribute part in the buffer
| void* SLGLAttribute::dataPointer |
pointer to the attributes source data
| SLGLBufferType SLGLAttribute::dataType |
| SLint SLGLAttribute::elementSize |
size of attribute element (SLVec3f has 3)
| SLint SLGLAttribute::location |
GLSL input variable location index.
| SLuint SLGLAttribute::offsetBytes |
Data Type (BT_float, BT_ubyte,...)
offset of the attribute data in the buffer
| SLGLAttributeType SLGLAttribute::type |
type of vertex attribute