Package physx.common

Class PxgDynamicsMemoryConfig

java.lang.Object
physx.NativeObject
physx.common.PxgDynamicsMemoryConfig

public class PxgDynamicsMemoryConfig extends NativeObject
Sizes of pre-allocated buffers use for GPU dynamics
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxgDynamicsMemoryConfig

      protected PxgDynamicsMemoryConfig(long address)
    • PxgDynamicsMemoryConfig

      public PxgDynamicsMemoryConfig()
  • Method Details

    • wrapPointer

      public static PxgDynamicsMemoryConfig wrapPointer(long address)
    • arrayGet

      public static PxgDynamicsMemoryConfig arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getTempBufferCapacity

      public int getTempBufferCapacity()
      Capacity of temp buffer allocated in pinned host memory.
    • setTempBufferCapacity

      public void setTempBufferCapacity(int value)
      Capacity of temp buffer allocated in pinned host memory.
    • getMaxRigidContactCount

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

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

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

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

      public int getHeapCapacity()
      Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.
    • setHeapCapacity

      public void setHeapCapacity(int value)
      Initial capacity of the GPU and pinned host memory heaps. Additional memory will be allocated if more memory is required.
    • getFoundLostPairsCapacity

      public int getFoundLostPairsCapacity()
      Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.
    • setFoundLostPairsCapacity

      public void setFoundLostPairsCapacity(int value)
      Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.
    • getFoundLostAggregatePairsCapacity

      public int getFoundLostAggregatePairsCapacity()
      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
    • setFoundLostAggregatePairsCapacity

      public void setFoundLostAggregatePairsCapacity(int value)
      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
    • getTotalAggregatePairsCapacity

      public int getTotalAggregatePairsCapacity()
      Capacity of total number of aggregate pairs allocated in GPU global memory.
    • setTotalAggregatePairsCapacity

      public void setTotalAggregatePairsCapacity(int value)
      Capacity of total number of aggregate pairs allocated in GPU global memory.
    • getMaxSoftBodyContacts

      public int getMaxSoftBodyContacts()
    • setMaxSoftBodyContacts

      public void setMaxSoftBodyContacts(int value)
    • getMaxFemClothContacts

      public int getMaxFemClothContacts()
    • setMaxFemClothContacts

      public void setMaxFemClothContacts(int value)
    • getMaxParticleContacts

      public int getMaxParticleContacts()
    • setMaxParticleContacts

      public void setMaxParticleContacts(int value)
    • getCollisionStackSize

      public int getCollisionStackSize()
    • setCollisionStackSize

      public void setCollisionStackSize(int value)
    • getMaxHairContacts

      public int getMaxHairContacts()
    • setMaxHairContacts

      public void setMaxHairContacts(int value)
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean