Bullet Collision Detection & Physics Library
|
#include <btSoftBodySolverVertexBuffer.h>
Public Member Functions | |
btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride) | |
vertexBasePointer is pointer to beginning of the buffer. More... | |
btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride) | |
vertexBasePointer is pointer to beginning of the buffer. More... | |
virtual | ~btCPUVertexBufferDescriptor () |
virtual BufferTypes | getBufferType () const |
Return the type of the vertex buffer descriptor. More... | |
virtual float * | getBasePointer () const |
Return the base pointer in memory to the first vertex. More... | |
Public Member Functions inherited from btVertexBufferDescriptor | |
btVertexBufferDescriptor () | |
virtual | ~btVertexBufferDescriptor () |
virtual bool | hasVertexPositions () const |
virtual bool | hasNormals () const |
virtual BufferTypes | getBufferType () const =0 |
Return the type of the vertex buffer descriptor. More... | |
virtual int | getVertexOffset () const |
Return the vertex offset in floats from the base pointer. More... | |
virtual int | getVertexStride () const |
Return the vertex stride in number of floats between vertices. More... | |
virtual int | getNormalOffset () const |
Return the vertex offset in floats from the base pointer. More... | |
virtual int | getNormalStride () const |
Return the vertex stride in number of floats between vertices. More... | |
Protected Attributes | |
float * | m_basePointer |
Protected Attributes inherited from btVertexBufferDescriptor | |
bool | m_hasVertexPositions |
bool | m_hasNormals |
int | m_vertexOffset |
int | m_vertexStride |
int | m_normalOffset |
int | m_normalStride |
Additional Inherited Members | |
Public Types inherited from btVertexBufferDescriptor | |
enum | BufferTypes { CPU_BUFFER , DX11_BUFFER , OPENGL_BUFFER } |
Definition at line 102 of file btSoftBodySolverVertexBuffer.h.
|
inline |
vertexBasePointer is pointer to beginning of the buffer.
vertexOffset is the offset in floats to the first vertex. vertexStride is the stride in floats between vertices.
Definition at line 113 of file btSoftBodySolverVertexBuffer.h.
|
inline |
vertexBasePointer is pointer to beginning of the buffer.
vertexOffset is the offset in floats to the first vertex. vertexStride is the stride in floats between vertices.
Definition at line 126 of file btSoftBodySolverVertexBuffer.h.
|
inlinevirtual |
Definition at line 139 of file btSoftBodySolverVertexBuffer.h.
|
inlinevirtual |
Return the base pointer in memory to the first vertex.
Definition at line 154 of file btSoftBodySolverVertexBuffer.h.
|
inlinevirtual |
Return the type of the vertex buffer descriptor.
Implements btVertexBufferDescriptor.
Definition at line 146 of file btSoftBodySolverVertexBuffer.h.
|
protected |
Definition at line 105 of file btSoftBodySolverVertexBuffer.h.