virtual void optimize(btAlignedObjectArray< btSoftBody * > &softBodies, bool forceUpdate=false)
Optimize soft bodies in this solver.
virtual SolverTypes getSolverType() const
Return the type of the solver.
virtual void solveConstraints(float solverdt)
Solve constraints for a set of soft bodies.
bool m_updateSolverConstants
Variable to define whether we need to update solver constants on the next iteration.
void solveLinksForPosition(int startLink, int numLinks, float kst, float ti)
virtual btSoftBodyLinkData & getLinkData()
virtual ~btDX11SIMDAwareSoftBodySolver()
void updateConstants(float timeStep)
btDX11SIMDAwareSoftBodySolver(ID3D11Device *dx11Device, ID3D11DeviceContext *dx11Context, DXFunctions::CompileFromMemoryFunc dx11CompileFromMemory=&D3DX11CompileFromMemory)
virtual bool buildShaders()
HRESULT(WINAPI * CompileFromMemoryFunc)(LPCSTR, SIZE_T, LPCSTR, const D3D10_SHADER_MACRO *, LPD3D10INCLUDE, LPCSTR, LPCSTR, UINT, UINT, ID3DX11ThreadPump *, ID3D10Blob **, ID3D10Blob **, HRESULT *)
btSoftBodyLinkDataDX11SIMDAware m_linkData
Link data for all cloths.