Classes | Public Member Functions | Protected Member Functions | Protected Attributes

btSoftBodySolverOutputDXtoDX Class Reference

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

#include <btSoftBodySolver_DX11.h>

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

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 662 of file btSoftBodySolver_DX11.h.

Definition at line 667 of file btSoftBodySolver_DX11.h.

Definition at line 663 of file btSoftBodySolver_DX11.h.

Definition at line 664 of file btSoftBodySolver_DX11.h.


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