|  | 
|  | VertexBufferP (int size=0, GLenum usage=GL_STATIC_DRAW) | 
|  | 
| void | setVertex (int idx, const STK::Vector3f &position, const STK::Vector3f &normal, const STK::Vector2f &texcoord, const STK::RGBA &color, const STK::Vector4f &boneWeights, const unsigned char *boneIndices) override | 
|  | 
| STK::Vector3f | getPosition (int idx) const override | 
|  | 
| void | applyVertexAttribs (ShaderProgram &program) override | 
|  | 
| void | disableVertexAttribs (ShaderProgram &program) override | 
|  | 
| void | initBuffer () override | 
|  | 
| int | getSize () const override | 
|  | 
| void | setSize (int size) override | 
|  | 
| char * | data () override | 
|  | 
| const char * | data () const override | 
|  | 
|  | VertexBuffer (GLenum usage=GL_STATIC_DRAW) | 
|  | 
| void | setUsage (GLenum usage) | 
|  | 
| GLenum | getUsage () const | 
|  | 
| virtual void | setVertex (int idx, const STK::Vector3f &position, const STK::Vector3f &normal, const STK::Vector2f &texcoord, const STK::RGBA &color, const STK::Vector4f &boneWeights, const unsigned char *boneIndices)=0 | 
|  | 
| void | setVertex (int idx, const STK::Vector3f &position, const STK::Vector3f &normal, const STK::Vector2f &texcoord) | 
|  | 
| void | setVertex (int idx, const STK::Vector3f &position) | 
|  | 
| void | setVertex (int idx, const STK::Vector3f &position, const STK::RGBA &color) | 
|  | 
| void | setNormal (int idx, const STK::Vector3f &normal) | 
|  | 
| void | setTexCoord (int idx, const STK::Vector2f &texcoord) | 
|  | 
| void | setVertex (int idx, const STK::Vector3f &position, const STK::Vector3f &normal, const STK::Vector2f &texcoord, const STK::Vector4f &boneWeights, const unsigned char *boneIndices) | 
|  | 
| void | addVertex (const STK::Vector3f &position) | 
|  | 
| void | addVertex (const STK::Vector3f &position, const STK::Vector3f &normal) | 
|  | 
| void | addVertex (const STK::Vector3f &position, const STK::Vector3f &normal, const STK::Vector2f &texcoord, const STK::RGBA &color, const STK::Vector4f &boneWeights, const unsigned char *boneIndices) | 
|  | 
| virtual STK::Vector3f | getPosition (int idx) const =0 | 
|  | 
| virtual STK::Vector3f | getNormal (int) const | 
|  | 
| virtual STK::RGBA | getColor (int) const | 
|  | 
| virtual STK::Vector2f | getTexCoord (int) const | 
|  | 
| virtual STK::Vector4f | getBoneWeights (int) const | 
|  | 
| virtual const unsigned char * | getBoneIndices (int) const | 
|  | 
| virtual void | initBuffer ()=0 | 
|  | 
| virtual void | applyVertexAttribs (ShaderProgram &program)=0 | 
|  | 
| virtual void | disableVertexAttribs (ShaderProgram &program)=0 | 
|  | 
| virtual int | getSize () const =0 | 
|  | 
| virtual void | setSize (int size)=0 | 
|  | 
| void | deleteBuffer () | 
|  | 
| void | setDirty (bool dirty) | 
|  | 
| bool | isDirty () const | 
|  | 
| virtual char * | data ()=0 | 
|  | 
| virtual const char * | data () const =0 | 
|  | 
VertexBufferP - Simple point vertex data. This vertex buffer class handles vertex data with only 3D positions.