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

Sizes of pre-allocated buffers use for GPU dynamics. More...

#include <PxSceneDesc.h>

Public Member Functions

PX_PHYSX_CORE_API bool isValid () const
 

Public Attributes

PxU32 tempBufferCapacity
 Capacity of temp buffer allocated in pinned host memory.
 
PxU32 maxRigidContactCount
 Size of contact stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2* contactStreamCapacity * sizeof(PxContact).
 
PxU32 maxRigidPatchCount
 Size of the contact patch stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2 * patchStreamCapacity * sizeof(PxContactPatch).
 
PxU32 heapCapacity
 Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.
 
PxU32 foundLostPairsCapacity
 Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.
 
PxU32 foundLostAggregatePairsCapacity
 Capacity of found and lost buffers in aggregate system allocated in GPU global memory. This is used for the found/lost pair reports in AABB manager.
 
PxU32 totalAggregatePairsCapacity
 Capacity of total number of aggregate pairs allocated in GPU global memory.
 
PxU32 maxSoftBodyContacts
 
PxU32 maxFemClothContacts
 
PxU32 maxParticleContacts
 
PxU32 collisionStackSize
 
PxU32 maxHairContacts
 

Detailed Description

Sizes of pre-allocated buffers use for GPU dynamics.


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