RavEngine
Loading...
Searching...
No Matches
physx::PxParticleClothPreProcessor Class Referenceabstract

Preprocessor to prepare particle cloths for simulation. More...

#include <PxParticleBuffer.h>

Inheritance diagram for physx::PxParticleClothPreProcessor:
[legend]

Public Member Functions

virtual void release ()=0
 Release this object and deallocate all the memory.
 
virtual void partitionSprings (const PxParticleClothDesc &clothDesc, PxPartitionedParticleCloth &output)=0
 Partition the spring constraints for particle cloth simulation.
 

Detailed Description

Preprocessor to prepare particle cloths for simulation.

Preprocessing is done by calling PxParticleClothPreProcessor::partitionSprings() on an instance of this class. This will allocate the memory in the output object, partition the springs and fill all the members of the ouput object. The output can then be passed without any further modifications to PxParticleClothBuffer::setCloths().

See #PxCreateParticleClothPreprocessor, #PxParticleClothDesc, #PxPartitionedParticleCloth

Member Function Documentation

◆ partitionSprings()

virtual void physx::PxParticleClothPreProcessor::partitionSprings ( const PxParticleClothDesc &  clothDesc,
PxPartitionedParticleCloth &  output 
)
pure virtual

Partition the spring constraints for particle cloth simulation.

Parameters
[in]clothDescReference to a valid #PxParticleClothDesc.
[in]outputReference to a #PxPartitionedParticleCloth object. This is the output of the preprocessing and should be passed to a #PxParticleClothBuffer.

Implemented in physx::NpParticleClothPreProcessor.

◆ release()

virtual void physx::PxParticleClothPreProcessor::release ( )
pure virtual

Release this object and deallocate all the memory.

Implemented in physx::NpParticleClothPreProcessor.


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