|
Blender V4.3
|
#include <btSoftBodySolverVertexBuffer.h>
Inherited by btCPUVertexBufferDescriptor.
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 19 of file btSoftBodySolverVertexBuffer.h.
| Enumerator | |
|---|---|
| CPU_BUFFER | |
| DX11_BUFFER | |
| OPENGL_BUFFER | |
Definition at line 22 of file btSoftBodySolverVertexBuffer.h.
|
inline |
Definition at line 40 of file btSoftBodySolverVertexBuffer.h.
References m_hasNormals, m_hasVertexPositions, m_normalOffset, m_normalStride, m_vertexOffset, and m_vertexStride.
|
inlinevirtual |
Definition at line 50 of file btSoftBodySolverVertexBuffer.h.
|
pure virtual |
Return the type of the vertex buffer descriptor.
Implemented in btCPUVertexBufferDescriptor.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Return the vertex offset in floats from the base pointer.
Definition at line 88 of file btSoftBodySolverVertexBuffer.h.
References m_normalOffset.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Return the vertex stride in number of floats between vertices.
Definition at line 96 of file btSoftBodySolverVertexBuffer.h.
References m_normalStride.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Return the vertex offset in floats from the base pointer.
Definition at line 72 of file btSoftBodySolverVertexBuffer.h.
References m_vertexOffset.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Return the vertex stride in number of floats between vertices.
Definition at line 80 of file btSoftBodySolverVertexBuffer.h.
References m_vertexStride.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Definition at line 59 of file btSoftBodySolverVertexBuffer.h.
References m_hasNormals.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
inlinevirtual |
Definition at line 54 of file btSoftBodySolverVertexBuffer.h.
References m_hasVertexPositions.
Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().
|
protected |
Definition at line 31 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and hasNormals().
|
protected |
Definition at line 30 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and hasVertexPositions().
|
protected |
Definition at line 36 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getNormalOffset().
|
protected |
Definition at line 37 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getNormalStride().
|
protected |
Definition at line 33 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getVertexOffset().
|
protected |
Definition at line 34 of file btSoftBodySolverVertexBuffer.h.
Referenced by btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor(), btVertexBufferDescriptor(), and getVertexStride().