SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
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.
Definition at line 21 of file SLGLVertexBuffer.h.
SLuint SLGLAttribute::bufferSizeBytes |
size of the attribute part in the buffer
Definition at line 27 of file SLGLVertexBuffer.h.
void* SLGLAttribute::dataPointer |
pointer to the attributes source data
Definition at line 28 of file SLGLVertexBuffer.h.
SLGLBufferType SLGLAttribute::dataType |
Definition at line 25 of file SLGLVertexBuffer.h.
SLint SLGLAttribute::elementSize |
size of attribute element (SLVec3f has 3)
Definition at line 24 of file SLGLVertexBuffer.h.
SLint SLGLAttribute::location |
GLSL input variable location index.
Definition at line 29 of file SLGLVertexBuffer.h.
SLuint SLGLAttribute::offsetBytes |
Data Type (BT_float, BT_ubyte,...)
offset of the attribute data in the buffer
Definition at line 26 of file SLGLVertexBuffer.h.
SLGLAttributeType SLGLAttribute::type |
type of vertex attribute
Definition at line 23 of file SLGLVertexBuffer.h.