AutoMemoryManagerSettings Properties
collapse_all

expand_all

collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
AutoMemoryManagerSettings Properties
gradient
The
AutoMemoryManagerSettings type exposes the following members.

collapse_allProperties

 

Name

Description

pubproperty

AbsoluteMinNumberOfParticles

The Absolute Minimum Number Of Particles this Particle System has to have memory allocated for. The Automatic Memory Manager will never allocate space for fewer Particles than this.

NOTE: This value must be greater than zero.

NOTE: Default value is 10.

pubproperty

IncreaseAmount

The amount the Automatic Memory Manager increases the memory allocated for Particles by. When adding a new Particle, if we discover that the Number Of Active Particles has reached the Max Number Of Particles, the Automatic Memory Manager will increase the Max Number Of Particles by the Increase Amount. For example, if the Increase Amount is set to 2.0, then the Max Number Of Particles will be doubled (200%). If it is set to 3.0 it will be tripled (300%). If it is set to 0.5, the Max Number Of Particles will be increased to 150%.

NOTE: This value is clamped to the range 1.01 - 10.0 (i.e. 101% - 1000%).

NOTE: The Automatic Memory Manager will never increase the amount of memory to be more than what is required by the Absolute Max Number Of Particles.

NOTE: Default value is 2.0.

pubproperty

ReduceAmount

The Automatic Memory Manager keeps track of the Max Particles that were Active in a single frame over the last X seconds (call this number M). If the Max Number Of Particles is greater than M, the Automatic Memory Manager can de-allocate unused memory. The Reduce Amount determines how much more memory than M to allocate. For example, setting the Reduce Amount to 1.0 would set the Max Number Of Particles to M. Setting the Reduce Amount to 1.1 would set the Max Number Of Particles to M + 10%. Setting it to 2.0 would set the Max Number Of Particles to M + 100% (i.e. M * 2).

NOTE: This value is clamped to the range 1.0 - 2.0.

NOTE: The Automatic Memory Manager will never reduce the amount of memory to be less than what is required for the Absolute Min Number Of Particles.

NOTE: Default value is 1.1.

pubproperty

SecondsMaxNumberOfParticlesMustExistForBeforeReducingSize

The Automatic Memory Manager keeps track of the Max Particles that were Active in a single frame over the last X seconds (call this number M). If the Max Number Of Particles is greater than M, the Automatic Memory Manager can de-allocate unused memory. The Seconds Max Number Of Particles Must Exist For Before Reducing Size tells how long M must be unchanged for before the Automatic Memory Manager can reduce the amount of allocated memory.

NOTE: This value must be greater than zero.

NOTE: Default value is 3.0.

collapse_allSee Also

AutoMemoryManagerSettings Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com