java.lang.Object
physx.NativeObject
physx.particles.PxGpuParticleSystem
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxGpuParticleSystemarrayGet(long baseAddress, int index) voiddestroy()Set of sorted particle indices per neighborPer-particle neighborhood countGPU pointer to sorted particle phase arrayGPU pointer to the mapping from sorted particle ID to unsorted particle IDGPU pointer to unsorted particle phase array.GPU pointer to the mapping from unsortedParticle ID to sorted particle IDintvoidsetMCollisionIndex(PxU32Ptr value) Set of sorted particle indices per neighborvoidPer-particle neighborhood countvoidsetMSortedPhaseArray(PxU32Ptr value) GPU pointer to sorted particle phase arrayvoidGPU pointer to the mapping from sorted particle ID to unsorted particle IDvoidsetMUnsortedPhaseArray(PxU32Ptr value) GPU pointer to unsorted particle phase array.voidGPU pointer to the mapping from unsortedParticle ID to sorted particle IDstatic PxGpuParticleSystemwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxGpuParticleSystem
protected PxGpuParticleSystem() -
PxGpuParticleSystem
protected PxGpuParticleSystem(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getMUnsortedPhaseArray
GPU pointer to unsorted particle phase array. See #PxParticlePhase. -
setMUnsortedPhaseArray
GPU pointer to unsorted particle phase array. See #PxParticlePhase. -
getMSortedPhaseArray
GPU pointer to sorted particle phase array -
setMSortedPhaseArray
GPU pointer to sorted particle phase array -
getMUnsortedToSortedMapping
GPU pointer to the mapping from unsortedParticle ID to sorted particle ID -
setMUnsortedToSortedMapping
GPU pointer to the mapping from unsortedParticle ID to sorted particle ID -
getMSortedToUnsortedMapping
GPU pointer to the mapping from sorted particle ID to unsorted particle ID -
setMSortedToUnsortedMapping
GPU pointer to the mapping from sorted particle ID to unsorted particle ID -
getMParticleSelfCollisionCount
Per-particle neighborhood count -
setMParticleSelfCollisionCount
Per-particle neighborhood count -
getMCollisionIndex
Set of sorted particle indices per neighbor -
setMCollisionIndex
Set of sorted particle indices per neighbor -
getNumCells
public int getNumCells()- Returns:
- PxU32 the number of cells.
-