Auto Memory Manager

Top  Previous  Next

Every DPSF particle system has a built-in Auto Memory Manager which is enabled by default.  To disable the Auto Memory Manager set the particle system's AutoMemoryManagerSettings.MemoryManagementMode to AutoMemoryManagerModes.Disabled.

 

The Auto Memory Manager can be used to increase and decrease the amount of memory allocated to the particle system dynamically at run-time, so that the particle system only allocates about as much memory as it needs at any given time.  You can also specify how much more memory should be allocated when the particle system needs it, as well as how much should be released when it is not needed.

 

See the DPSF API Documentation for more information on the specific settings and variables associated with the Auto Memory Manager.