RavEngine
Loading...
Searching...
No Matches
physx::PxSparseGridParams Struct Reference

Parameters to define the sparse grid settings like grid spacing, maximal number of subgrids etc. More...

#include <PxSparseGridParams.h>

Public Member Functions

PX_INLINE PxSparseGridParams ()
 Default constructor.
 
PX_CUDA_CALLABLE PX_INLINE PxSparseGridParams (const PxSparseGridParams &params)
 Copy constructor.
 
PX_CUDA_CALLABLE PX_INLINE PxU32 getNumCellsPerSubgrid () const
 
PX_CUDA_CALLABLE PX_INLINE PxReal getSqrt3dx () const
 
PX_INLINE void setToDefault ()
 (re)sets the structure to the default.
 
PX_INLINE void operator= (const PxSparseGridParams &params)
 Assignment operator.
 

Public Attributes

PxU32 maxNumSubgrids
 Maximum number of subgrids.
 
PxReal gridSpacing
 Grid spacing for the grid.
 
PxU16 subgridSizeX
 Subgrid resolution in x dimension (must be an even number)
 
PxU16 subgridSizeY
 Subgrid resolution in y dimension (must be an even number)
 
PxU16 subgridSizeZ
 Subgrid resolution in z dimension (must be an even number)
 
PxU16 haloSize
 Number of halo cell layers around every subgrid cell. Only 0 and 1 are valid values.
 

Detailed Description

Parameters to define the sparse grid settings like grid spacing, maximal number of subgrids etc.


The documentation for this struct was generated from the following file: