Blender V2.61 - r43446
|
#include <btSoftBodySolverVertexBuffer.h>
Public Types | |
enum | BufferTypes { CPU_BUFFER, DX11_BUFFER, OPENGL_BUFFER } |
Public Member Functions | |
btVertexBufferDescriptor () | |
virtual | ~btVertexBufferDescriptor () |
virtual bool | hasVertexPositions () const |
virtual bool | hasNormals () const |
virtual BufferTypes | getBufferType () const =0 |
virtual int | getVertexOffset () const |
virtual int | getVertexStride () const |
virtual int | getNormalOffset () const |
virtual int | getNormalStride () const |
Protected Attributes | |
bool | m_hasVertexPositions |
bool | m_hasNormals |
int | m_vertexOffset |
int | m_vertexStride |
int | m_normalOffset |
int | m_normalStride |
Definition at line 20 of file btSoftBodySolverVertexBuffer.h.
Definition at line 23 of file btSoftBodySolverVertexBuffer.h.
btVertexBufferDescriptor::btVertexBufferDescriptor | ( | ) | [inline] |
Definition at line 42 of file btSoftBodySolverVertexBuffer.h.
References m_hasNormals, m_hasVertexPositions, m_normalOffset, m_normalStride, m_vertexOffset, and m_vertexStride.
virtual btVertexBufferDescriptor::~btVertexBufferDescriptor | ( | ) | [inline, virtual] |
Definition at line 52 of file btSoftBodySolverVertexBuffer.h.
virtual BufferTypes btVertexBufferDescriptor::getBufferType | ( | ) | const [pure virtual] |
Return the type of the vertex buffer descriptor.
Implemented in btCPUVertexBufferDescriptor.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual int btVertexBufferDescriptor::getNormalOffset | ( | ) | const [inline, virtual] |
Return the vertex offset in floats from the base pointer.
Definition at line 91 of file btSoftBodySolverVertexBuffer.h.
References m_normalOffset.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual int btVertexBufferDescriptor::getNormalStride | ( | ) | const [inline, virtual] |
Return the vertex stride in number of floats between vertices.
Definition at line 99 of file btSoftBodySolverVertexBuffer.h.
References m_normalStride.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual int btVertexBufferDescriptor::getVertexOffset | ( | ) | const [inline, virtual] |
Return the vertex offset in floats from the base pointer.
Definition at line 75 of file btSoftBodySolverVertexBuffer.h.
References m_vertexOffset.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual int btVertexBufferDescriptor::getVertexStride | ( | ) | const [inline, virtual] |
Return the vertex stride in number of floats between vertices.
Definition at line 83 of file btSoftBodySolverVertexBuffer.h.
References m_vertexStride.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual bool btVertexBufferDescriptor::hasNormals | ( | ) | const [inline, virtual] |
Definition at line 62 of file btSoftBodySolverVertexBuffer.h.
References m_hasNormals.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
virtual bool btVertexBufferDescriptor::hasVertexPositions | ( | ) | const [inline, virtual] |
Definition at line 57 of file btSoftBodySolverVertexBuffer.h.
References m_hasVertexPositions.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
bool btVertexBufferDescriptor::m_hasNormals [protected] |
Definition at line 33 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and hasNormals().
bool btVertexBufferDescriptor::m_hasVertexPositions [protected] |
Definition at line 32 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and hasVertexPositions().
int btVertexBufferDescriptor::m_normalOffset [protected] |
Definition at line 38 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getNormalOffset().
int btVertexBufferDescriptor::m_normalStride [protected] |
Definition at line 39 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getNormalStride().
int btVertexBufferDescriptor::m_vertexOffset [protected] |
Definition at line 35 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getVertexOffset().
int btVertexBufferDescriptor::m_vertexStride [protected] |
Definition at line 36 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getVertexStride().