Obi  7.0.5
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ComputeDensityConstraints Class Reference
Inheritance diagram for Obi.ComputeDensityConstraints:
Obi.ComputeConstraintsImpl< T > Obi.IComputeConstraintsImpl Obi.IConstraints

Public Member Functions

 ComputeDensityConstraints (ComputeSolverImpl solver)
 
override IConstraintsBatchImpl CreateConstraintsBatch ()
 
override void RemoveBatch (IConstraintsBatchImpl batch)
 
void CopyDataInSortedOrder (bool renderable=false)
 
void ApplyVelocityCorrections (float deltaTime)
 
void CalculateAnisotropyLaplacianSmoothing ()
 
- Public Member Functions inherited from Obi.ComputeConstraintsImpl< T >
 ComputeConstraintsImpl (ComputeSolverImpl solver, Oni.ConstraintType constraintType)
 
virtual void Dispose ()
 
virtual int GetConstraintCount ()
 
void Initialize (float stepTime, float substepTime, int steps, float timeLeft)
 
void Project (float stepTime, float substepTime, int substeps, float timeLeft)
 

Public Attributes

ComputeShader sortParticlesShader
 
int sortDataKernel
 
ComputeShader constraintsShader
 
int updateDensitiesKernel
 
int applyKernel
 
int applyPositionDeltaKernel
 
int applyAtmosphereKernel
 
int accumSmoothPositionsKernel
 
int accumAnisotropyKernel
 
int averageAnisotropyKernel
 
- Public Attributes inherited from Obi.ComputeConstraintsImpl< T >
List< T > batches = new List<T>()
 

Additional Inherited Members

- Protected Member Functions inherited from Obi.ComputeConstraintsImpl< T >
virtual void EvaluateSequential (float stepTime, float substepTime, int substeps, float timeLeft)
 
virtual void EvaluateParallel (float stepTime, float substepTime, int substeps, float timeLeft)
 
- Protected Attributes inherited from Obi.ComputeConstraintsImpl< T >
ComputeSolverImpl m_Solver
 
Oni.ConstraintType m_ConstraintType
 
- Properties inherited from Obi.ComputeConstraintsImpl< T >
Oni.ConstraintType constraintType [get]
 
ISolverImpl solver [get]
 
- Properties inherited from Obi.IConstraints
Oni.ConstraintType constraintType [get]
 
ISolverImpl solver [get]
 

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