virtual void setLinkAt(const LinkDescription &link, int linkIndex)
Insert the link described into the correct data structures assuming space has already been allocated ...
btDX11Buffer< float > m_dx11LinksMaterialLinearStiffnessCoefficient
void generateBatches()
Generate (and later update) the batching for the entire link set.
virtual bool onAccelerator()
Return true if data is on the accelerator.
virtual ~btSoftBodyLinkDataDX11()
btDX11Buffer< float > m_dx11LinksLengthRatio
virtual void createLinks(int numLinks)
Allocate enough space in all link-related arrays to fit numLinks links.
btDX11Buffer< float > m_dx11LinkStrength
btDX11Buffer< float > m_dx11LinksRestLength
btAlignedObjectArray< int > m_linkAddresses
Link addressing information for each cloth.
virtual bool moveToAccelerator()
Move data from host memory to the accelerator.
btDX11Buffer< LinkNodePair > m_dx11Links
Class describing a link for input into the system.
btDX11Buffer< float > m_dx11LinksMassLSC
ID3D11DeviceContext * m_d3dDeviceContext
btDX11Buffer< Vectormath::Aos::Vector3 > m_dx11LinksCLength
btDX11Buffer< float > m_dx11LinksRestLengthSquared
btAlignedObjectArray< BatchPair > m_batchStartLengths
Start and length values for computation batches over link data.
ID3D11Device * m_d3dDevice
btSoftBodyLinkDataDX11(ID3D11Device *d3dDevice, ID3D11DeviceContext *d3dDeviceContext)
virtual bool moveFromAccelerator()
Move data from host memory from the accelerator.