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++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
AutoMemoryManagerSettings
.
.
::
..ReduceAmount Property
gradient

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.

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public float ReduceAmount { getset; }

Visual Basic

Public Property ReduceAmount As Single

 Get

 Set

Visual C++

public:

property float ReduceAmount {

 float get ();

 void set (float value);

}

Property Value

Type: Single

collapse_allSee Also

AutoMemoryManagerSettings Class

AutoMemoryManagerSettings Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com