PxGpuMirroredPointer

Defined in include/PxPBDParticleSystem.h

template<typename Type>
struct PxGpuMirroredPointer

Container to hold a pair of corresponding device and host pointers.

These pointers should point to GPU / CPU mirrors of the same data, but this is not enforced.

Public Functions

inline PxGpuMirroredPointer(Type *devicePtr, Type *hostPtr)

Public Members

Type *mDevicePtr
Type *mHostPtr