PxGpuParticleData
Defined in include/PxParticleGpu.h
-
struct PxGpuParticleData
Structure that holds simulation parameters of a PxGpuParticleSystem.
Public Members
-
PxU32 mGridSizeX
Size of the x-dimension of the background simulation grid. Translates to an absolute size of mGridSizeX * mGridCellWidth.
-
PxU32 mGridSizeY
Size of the y-dimension of the background simulation grid. Translates to an absolute size of mGridSizeY * mGridCellWidth.
-
PxU32 mGridSizeZ
Size of the z-dimension of the background simulation grid. Translates to an absolute size of mGridSizeZ * mGridCellWidth.
-
PxReal mParticleContactDistance
Two particles start interacting if their distance is lower than mParticleContactDistance.
-
PxU32 mMaxNeighborhood
The maximum number of particles considered when computing neighborhood based particle interactions.
-
PxU32 mGridSizeX