PxgDynamicsMemoryConfig Struct Reference

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

#include <PxSceneDesc.h>

Public Member Functions

 PxgDynamicsMemoryConfig ()
 

Public Attributes

PxU32 constraintBufferCapacity
 Capacity of constraint buffer allocated in GPU global memory. More...
 
PxU32 contactBufferCapacity
 Capacity of contact buffer allocated in GPU global memory. More...
 
PxU32 tempBufferCapacity
 Capacity of temp buffer allocated in pinned host memory. More...
 
PxU32 contactStreamSize
 Size of contact stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2* contactStreamCapacity * sizeof(PxContact). More...
 
PxU32 patchStreamSize
 Size of the contact patch stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2 * patchStreamCapacity * sizeof(PxContactPatch). More...
 
PxU32 forceStreamCapacity
 Capacity of force buffer allocated in pinned host memory. More...
 
PxU32 heapCapacity
 Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required. More...
 
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. More...
 

Detailed Description

Sizes of pre-allocated buffers use for GPU dynamics.

Constructor & Destructor Documentation

◆ PxgDynamicsMemoryConfig()

PxgDynamicsMemoryConfig::PxgDynamicsMemoryConfig ( )
inline

Member Data Documentation

◆ constraintBufferCapacity

PxU32 PxgDynamicsMemoryConfig::constraintBufferCapacity

Capacity of constraint buffer allocated in GPU global memory.

◆ contactBufferCapacity

PxU32 PxgDynamicsMemoryConfig::contactBufferCapacity

Capacity of contact buffer allocated in GPU global memory.

◆ contactStreamSize

PxU32 PxgDynamicsMemoryConfig::contactStreamSize

Size of contact stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2* contactStreamCapacity * sizeof(PxContact).

◆ forceStreamCapacity

PxU32 PxgDynamicsMemoryConfig::forceStreamCapacity

Capacity of force buffer allocated in pinned host memory.

◆ foundLostPairsCapacity

PxU32 PxgDynamicsMemoryConfig::foundLostPairsCapacity

Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.

◆ heapCapacity

PxU32 PxgDynamicsMemoryConfig::heapCapacity

Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.

◆ patchStreamSize

PxU32 PxgDynamicsMemoryConfig::patchStreamSize

Size of the contact patch stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2 * patchStreamCapacity * sizeof(PxContactPatch).

◆ tempBufferCapacity

PxU32 PxgDynamicsMemoryConfig::tempBufferCapacity

Capacity of temp buffer allocated in pinned host memory.


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