#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 float * | getBasePointer () const |
virtual BufferTypes | getBufferType () const |
virtual | ~btCPUVertexBufferDescriptor () |
Protected Attributes | |
float * | m_basePointer |
Definition at line 106 of file btSoftBodySolverVertexBuffer.h.
btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor | ( | float * | basePointer, |
int | vertexOffset, | ||
int | 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 117 of file btSoftBodySolverVertexBuffer.h.
btCPUVertexBufferDescriptor::btCPUVertexBufferDescriptor | ( | float * | basePointer, |
int | vertexOffset, | ||
int | vertexStride, | ||
int | normalOffset, | ||
int | normalStride | ||
) | [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 130 of file btSoftBodySolverVertexBuffer.h.
virtual btCPUVertexBufferDescriptor::~btCPUVertexBufferDescriptor | ( | ) | [inline, virtual] |
Definition at line 143 of file btSoftBodySolverVertexBuffer.h.
virtual float* btCPUVertexBufferDescriptor::getBasePointer | ( | ) | const [inline, virtual] |
Return the base pointer in memory to the first vertex.
Definition at line 159 of file btSoftBodySolverVertexBuffer.h.
virtual BufferTypes btCPUVertexBufferDescriptor::getBufferType | ( | ) | const [inline, virtual] |
Return the type of the vertex buffer descriptor.
Implements btVertexBufferDescriptor.
Definition at line 151 of file btSoftBodySolverVertexBuffer.h.
float* btCPUVertexBufferDescriptor::m_basePointer [protected] |
Definition at line 109 of file btSoftBodySolverVertexBuffer.h.