NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxgDynamicsMemoryConfig Struct Reference

NVIDIA PhysX SDK 3.4 API

PxgDynamicsMemoryConfig Struct Reference
[Physics]

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

#include <PxSceneDesc.h>

List of all members.


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.

Detailed Description

Sizes of pre-allocated buffers use for GPU dynamics.

Constructor & Destructor Documentation

PxgDynamicsMemoryConfig::PxgDynamicsMemoryConfig (  )  [inline]


Member Data Documentation

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.


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



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com