33 lines
771 B
C++
33 lines
771 B
C++
#ifndef BT_GPU_RIGIDBODY_PIPELINE_INTERNAL_DATA_H
|
|
#define BT_GPU_RIGIDBODY_PIPELINE_INTERNAL_DATA_H
|
|
|
|
#include "../../basic_initialize/b3OpenCLInclude.h"
|
|
#include "BulletCommon/btAlignedObjectArray.h"
|
|
|
|
#include "../../parallel_primitives/host/btOpenCLArray.h"
|
|
#include "../../gpu_narrowphase/host/b3Collidable.h"
|
|
|
|
|
|
struct b3GpuRigidBodyPipelineInternalData
|
|
{
|
|
|
|
cl_context m_context;
|
|
cl_device_id m_device;
|
|
cl_command_queue m_queue;
|
|
|
|
cl_kernel m_integrateTransformsKernel;
|
|
cl_kernel m_updateAabbsKernel;
|
|
|
|
class btPgsJacobiSolver* m_solver;
|
|
class b3GpuBatchingPgsSolver* m_solver2;
|
|
class btGpuJacobiSolver* m_solver3;
|
|
|
|
class b3GpuSapBroadphase* m_broadphaseSap;
|
|
|
|
class b3GpuNarrowPhase* m_narrowphase;
|
|
|
|
};
|
|
|
|
#endif //BT_GPU_RIGIDBODY_PIPELINE_INTERNAL_DATA_H
|
|
|