16#ifndef BT_SOFT_BODY_SOLVER_VERTEX_BUFFER_H
17#define BT_SOFT_BODY_SOLVER_VERTEX_BUFFER_H
btCPUVertexBufferDescriptor(float *basePointer, int vertexOffset, int vertexStride)
vertexBasePointer is pointer to beginning of the buffer.
virtual ~btCPUVertexBufferDescriptor()
virtual float * getBasePointer() const
Return the base pointer in memory to the first vertex.
virtual BufferTypes getBufferType() const
Return the type of the vertex buffer descriptor.
btCPUVertexBufferDescriptor(float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride)
vertexBasePointer is pointer to beginning of the buffer.
virtual BufferTypes getBufferType() const =0
Return the type of the vertex buffer descriptor.
virtual bool hasVertexPositions() const
virtual int getNormalOffset() const
Return the vertex offset in floats from the base pointer.
bool m_hasVertexPositions
virtual int getVertexOffset() const
Return the vertex offset in floats from the base pointer.
virtual bool hasNormals() const
btVertexBufferDescriptor()
virtual int getNormalStride() const
Return the vertex stride in number of floats between vertices.
virtual ~btVertexBufferDescriptor()
virtual int getVertexStride() const
Return the vertex stride in number of floats between vertices.