Class to manage movement of data from a solver to a given target. More...
#include <btSoftBodySolver_DX11.h>
Classes | |
struct | OutputToVertexArrayCB |
Public Member Functions | |
btSoftBodySolverOutputDXtoDX (ID3D11Device *dx11Device, ID3D11DeviceContext *dx11Context, DXFunctions::CompileFromMemoryFunc dx11CompileFromMemory=&D3DX11CompileFromMemory) | |
~btSoftBodySolverOutputDXtoDX () | |
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 | |
bool | checkInitialized () |
bool | buildShaders () |
void | releaseKernels () |
Protected Attributes | |
DXFunctions | dxFunctions |
DXFunctions::KernelDesc | outputToVertexArrayWithNormalsKernel |
DXFunctions::KernelDesc | outputToVertexArrayWithoutNormalsKernel |
bool | m_shadersInitialized |
Class to manage movement of data from a solver to a given target.
This version is the DX to DX version and subclasses DX to CPU so that it works for that too.
Definition at line 646 of file btSoftBodySolver_DX11.h.
btSoftBodySolverOutputDXtoDX::btSoftBodySolverOutputDXtoDX | ( | ID3D11Device * | dx11Device, | |
ID3D11DeviceContext * | dx11Context, | |||
DXFunctions::CompileFromMemoryFunc | dx11CompileFromMemory = &D3DX11CompileFromMemory | |||
) | [inline] |
Definition at line 674 of file btSoftBodySolver_DX11.h.
btSoftBodySolverOutputDXtoDX::~btSoftBodySolverOutputDXtoDX | ( | ) | [inline] |
Definition at line 680 of file btSoftBodySolver_DX11.h.
bool btSoftBodySolverOutputDXtoDX::buildShaders | ( | ) | [protected] |
Definition at line 1889 of file btSoftBodySolver_DX11.cpp.
bool btSoftBodySolverOutputDXtoDX::checkInitialized | ( | ) | [protected] |
Definition at line 1869 of file btSoftBodySolver_DX11.cpp.
void btSoftBodySolverOutputDXtoDX::copySoftBodyToVertexBuffer | ( | const btSoftBody *const | softBody, | |
btVertexBufferDescriptor * | vertexBuffer | |||
) | [virtual] |
Output current computed vertex data to the vertex buffers for all cloths in the solver.
Reimplemented from btSoftBodySolverOutputDXtoCPU.
Definition at line 1915 of file btSoftBodySolver_DX11.cpp.
void btSoftBodySolverOutputDXtoDX::releaseKernels | ( | ) | [protected] |
Definition at line 1878 of file btSoftBodySolver_DX11.cpp.
DXFunctions btSoftBodySolverOutputDXtoDX::dxFunctions [protected] |
Definition at line 662 of file btSoftBodySolver_DX11.h.
bool btSoftBodySolverOutputDXtoDX::m_shadersInitialized [protected] |
Definition at line 667 of file btSoftBodySolver_DX11.h.
DXFunctions::KernelDesc btSoftBodySolverOutputDXtoDX::outputToVertexArrayWithNormalsKernel [protected] |
Definition at line 663 of file btSoftBodySolver_DX11.h.
DXFunctions::KernelDesc btSoftBodySolverOutputDXtoDX::outputToVertexArrayWithoutNormalsKernel [protected] |
Definition at line 664 of file btSoftBodySolver_DX11.h.