Blender
V3.3
|
#include <btSoftBodySolverVertexBuffer.h>
Public Member Functions | |
btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride) | |
btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride) | |
virtual | ~btCPUVertexBufferDescriptor () |
virtual BufferTypes | getBufferType () const |
virtual float * | getBasePointer () const |
![]() | |
btVertexBufferDescriptor () | |
virtual | ~btVertexBufferDescriptor () |
virtual bool | hasVertexPositions () const |
virtual bool | hasNormals () const |
virtual int | getVertexOffset () const |
virtual int | getVertexStride () const |
virtual int | getNormalOffset () const |
virtual int | getNormalStride () const |
Protected Attributes | |
float * | m_basePointer |
![]() | |
bool | m_hasVertexPositions |
bool | m_hasNormals |
int | m_vertexOffset |
int | m_vertexStride |
int | m_normalOffset |
int | m_normalStride |
Additional Inherited Members | |
![]() | |
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.
References m_basePointer, btVertexBufferDescriptor::m_hasVertexPositions, btVertexBufferDescriptor::m_vertexOffset, and btVertexBufferDescriptor::m_vertexStride.
|
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.
References m_basePointer, btVertexBufferDescriptor::m_hasNormals, btVertexBufferDescriptor::m_hasVertexPositions, btVertexBufferDescriptor::m_normalOffset, btVertexBufferDescriptor::m_normalStride, btVertexBufferDescriptor::m_vertexOffset, and btVertexBufferDescriptor::m_vertexStride.
|
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.
References m_basePointer.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Return the type of the vertex buffer descriptor.
Implements btVertexBufferDescriptor.
Definition at line 146 of file btSoftBodySolverVertexBuffer.h.
References btVertexBufferDescriptor::CPU_BUFFER.
|
protected |
Definition at line 105 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor(), and getBasePointer().