Public Member Functions | Protected Member Functions | Protected Attributes

btSoftBodySolverOutputCLtoGL Class Reference

Class to manage movement of data from a solver to a given target. More...

#include <btSoftBodySolverOutputCLtoGL.h>

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

List of all members.

Public Member Functions

 btSoftBodySolverOutputCLtoGL (cl_command_queue cqCommandQue, cl_context cxMainContext)
virtual ~btSoftBodySolverOutputCLtoGL ()
virtual void copySoftBodyToVertexBuffer (const btSoftBody *const softBody, btVertexBufferDescriptor *vertexBuffer)
 Output current computed vertex data to the vertex buffers for all cloths in the solver.

Protected Member Functions

virtual bool checkInitialized ()
virtual bool buildShaders ()
void releaseKernels ()

Protected Attributes

cl_command_queue m_cqCommandQue
cl_context m_cxMainContext
CLFunctions clFunctions
cl_kernel outputToVertexArrayWithNormalsKernel
cl_kernel outputToVertexArrayWithoutNormalsKernel
bool m_shadersInitialized

Detailed Description

Class to manage movement of data from a solver to a given target.

This version is the CL to GL interop version.

Definition at line 25 of file btSoftBodySolverOutputCLtoGL.h.


Constructor & Destructor Documentation

btSoftBodySolverOutputCLtoGL::btSoftBodySolverOutputCLtoGL ( cl_command_queue  cqCommandQue,
cl_context  cxMainContext 
) [inline]

Definition at line 41 of file btSoftBodySolverOutputCLtoGL.h.

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

Definition at line 51 of file btSoftBodySolverOutputCLtoGL.h.


Member Function Documentation

bool btSoftBodySolverOutputCLtoGL::buildShaders (  )  [protected, virtual]

Definition at line 91 of file btSoftBodySolverOutputCLtoGL.cpp.

bool btSoftBodySolverOutputCLtoGL::checkInitialized (  )  [protected, virtual]

Definition at line 119 of file btSoftBodySolverOutputCLtoGL.cpp.

void btSoftBodySolverOutputCLtoGL::copySoftBodyToVertexBuffer ( const btSoftBody *const   softBody,
btVertexBufferDescriptor vertexBuffer 
) [virtual]

Output current computed vertex data to the vertex buffers for all cloths in the solver.

Implements btSoftBodySolverOutput.

Definition at line 18 of file btSoftBodySolverOutputCLtoGL.cpp.

void btSoftBodySolverOutputCLtoGL::releaseKernels (  )  [protected]

Definition at line 111 of file btSoftBodySolverOutputCLtoGL.cpp.


Member Data Documentation

Definition at line 30 of file btSoftBodySolverOutputCLtoGL.h.

Definition at line 28 of file btSoftBodySolverOutputCLtoGL.h.

Definition at line 29 of file btSoftBodySolverOutputCLtoGL.h.

Definition at line 35 of file btSoftBodySolverOutputCLtoGL.h.

Definition at line 32 of file btSoftBodySolverOutputCLtoGL.h.

Definition at line 33 of file btSoftBodySolverOutputCLtoGL.h.


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