btAlignedObjectArray< int > m_linkAddresses
Link addressing information for each cloth.
btOpenCLBuffer< Vectormath::Aos::Vector3 > m_clLinksCLength
virtual bool onAccelerator()
Return true if data is on the accelerator.
virtual ~btSoftBodyLinkDataOpenCL()
virtual bool moveToAccelerator()
Move data from host memory to the accelerator.
btOpenCLBuffer< float > m_clLinkStrength
btOpenCLBuffer< float > m_clLinksLengthRatio
btOpenCLBuffer< float > m_clLinksRestLength
btOpenCLBuffer< float > m_clLinksMassLSC
btSoftBodyLinkDataOpenCL(cl_command_queue queue, cl_context ctx)
btAlignedObjectArray< BatchPair > m_batchStartLengths
Start and length values for computation batches over link data.
void generateBatches()
Generate (and later update) the batching for the entire link set.
btOpenCLBuffer< float > m_clLinksMaterialLinearStiffnessCoefficient
Class describing a link for input into the system.
btOpenCLBuffer< float > m_clLinksRestLengthSquared
cl_command_queue m_cqCommandQue
virtual void setLinkAt(const LinkDescription &link, int linkIndex)
Insert the link described into the correct data structures assuming space has already been allocated ...
virtual bool moveFromAccelerator()
Move data from host memory from the accelerator.
btOpenCLBuffer< LinkNodePair > m_clLinks
virtual void createLinks(int numLinks)
Allocate enough space in all link-related arrays to fit numLinks links.