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