Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
16 #ifndef BT_SOFT_BODY_SOLVER_VERTEX_BUFFER_H
17 #define BT_SOFT_BODY_SOLVER_VERTEX_BUFFER_H
160 #endif // #ifndef BT_SOFT_BODY_SOLVER_VERTEX_BUFFER_H
bool m_hasVertexPositions
btVertexBufferDescriptor()
virtual ~btCPUVertexBufferDescriptor()
virtual bool hasVertexPositions() const
virtual float * getBasePointer() const
Return the base pointer in memory to the first vertex.
virtual bool hasNormals() const
virtual int getVertexStride() const
Return the vertex stride in number of floats between vertices.
virtual ~btVertexBufferDescriptor()
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 int getVertexOffset() 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 BufferTypes getBufferType() const =0
Return the type of the vertex buffer descriptor.
virtual int getNormalStride() const
Return the vertex stride in number of floats between vertices.
btCPUVertexBufferDescriptor(float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride)
vertexBasePointer is pointer to beginning of the buffer.