#include <PxSceneDesc.h>
Public Member Functions | |
PxgDynamicsMemoryConfig () | |
Public Attributes | |
PxU32 | constraintBufferCapacity |
Capacity of constraint buffer allocated in GPU global memory. | |
PxU32 | contactBufferCapacity |
Capacity of contact buffer allocated in GPU global memory. | |
PxU32 | tempBufferCapacity |
Capacity of temp buffer allocated in pinned host memory. | |
PxU32 | contactStreamSize |
Size of contact stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2* contactStreamCapacity * sizeof(PxContact). | |
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). | |
PxU32 | forceStreamCapacity |
Capacity of force buffer allocated in pinned host memory. | |
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. |
PxgDynamicsMemoryConfig::PxgDynamicsMemoryConfig | ( | ) | [inline] |
Capacity of constraint buffer allocated in GPU global memory.
Capacity of contact buffer allocated in GPU global memory.
Size of contact stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2* contactStreamCapacity * sizeof(PxContact).
Capacity of force buffer allocated in pinned host memory.
Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.
Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.
Size of the contact patch stream buffer allocated in pinned host memory. This is double-buffered so total allocation size = 2 * patchStreamCapacity * sizeof(PxContactPatch).
Capacity of temp buffer allocated in pinned host memory.