Class to manage movement of data from a solver to a given target. More...
#include <btSoftBodySolverOutputCLtoGL.h>
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 |
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.
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.
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.
CLFunctions btSoftBodySolverOutputCLtoGL::clFunctions [protected] |
Definition at line 30 of file btSoftBodySolverOutputCLtoGL.h.
Definition at line 28 of file btSoftBodySolverOutputCLtoGL.h.
Definition at line 29 of file btSoftBodySolverOutputCLtoGL.h.
bool btSoftBodySolverOutputCLtoGL::m_shadersInitialized [protected] |
Definition at line 35 of file btSoftBodySolverOutputCLtoGL.h.
Definition at line 32 of file btSoftBodySolverOutputCLtoGL.h.
Definition at line 33 of file btSoftBodySolverOutputCLtoGL.h.