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... | |
Sizes of pre-allocated buffers use for GPU dynamics.
|
inline |
PxU32 PxgDynamicsMemoryConfig::constraintBufferCapacity |
Capacity of constraint buffer allocated in GPU global memory.
PxU32 PxgDynamicsMemoryConfig::contactBufferCapacity |
Capacity of contact buffer allocated in GPU global memory.
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).
PxU32 PxgDynamicsMemoryConfig::forceStreamCapacity |
Capacity of force buffer allocated in pinned host memory.
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.
PxU32 PxgDynamicsMemoryConfig::heapCapacity |
Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.
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).
PxU32 PxgDynamicsMemoryConfig::tempBufferCapacity |
Capacity of temp buffer allocated in pinned host memory.