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