Blender V2.61 - r43446
Public Member Functions | Protected Attributes

btCPUVertexBufferDescriptor Class Reference

#include <btSoftBodySolverVertexBuffer.h>

Inheritance diagram for btCPUVertexBufferDescriptor:
Inheritance graph
[legend]

List of all members.

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

Protected Attributes

float * m_basePointer

Detailed Description

Definition at line 106 of file btSoftBodySolverVertexBuffer.h.


Constructor & Destructor Documentation

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.

References m_basePointer, btVertexBufferDescriptor::m_hasVertexPositions, btVertexBufferDescriptor::m_vertexOffset, and btVertexBufferDescriptor::m_vertexStride.

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.

References m_basePointer, btVertexBufferDescriptor::m_hasNormals, btVertexBufferDescriptor::m_hasVertexPositions, btVertexBufferDescriptor::m_normalOffset, btVertexBufferDescriptor::m_normalStride, btVertexBufferDescriptor::m_vertexOffset, and btVertexBufferDescriptor::m_vertexStride.

virtual btCPUVertexBufferDescriptor::~btCPUVertexBufferDescriptor ( ) [inline, virtual]

Definition at line 143 of file btSoftBodySolverVertexBuffer.h.


Member Function Documentation

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.

References m_basePointer.

Referenced by btDefaultSoftBodySolver::copySoftBodyToVertexBuffer().

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.

References btVertexBufferDescriptor::CPU_BUFFER.


Member Data Documentation

Definition at line 109 of file btSoftBodySolverVertexBuffer.h.

Referenced by btCPUVertexBufferDescriptor(), and getBasePointer().


The documentation for this class was generated from the following file: