Public Member Functions | Protected Attributes

btCPUVertexBufferDescriptor Class Reference

#include <btSoftBodySolverVertexBuffer.h>

Inheritance diagram for btCPUVertexBufferDescriptor:
Inheritance graph
[legend]
Collaboration diagram for btCPUVertexBufferDescriptor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride)
 vertexBasePointer is pointer to beginning of the buffer.
 btCPUVertexBufferDescriptor (float *basePointer, int vertexOffset, int vertexStride, int normalOffset, int normalStride)
 vertexBasePointer is pointer to beginning of the buffer.
virtual ~btCPUVertexBufferDescriptor ()
virtual BufferTypes getBufferType () const
 Return the type of the vertex buffer descriptor.
virtual float * getBasePointer () const
 Return the base pointer in memory to the first vertex.

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.

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.


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.

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.


Member Data Documentation

Definition at line 109 of file btSoftBodySolverVertexBuffer.h.


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