3ds Max C++ API Reference
Memory Padding

This portion of available memory is set aside as unusable by the pager, affecting how the physical memory limit is computed from the memory limit percentage. More...

Functions

virtual float GetMemoryPaddingPercent ()=0
 Returns the memory padding percent (as a fraction from 0.0 to 1.0) of available memory. More...
 
virtual void SetMemoryPaddingPercent (float percent)=0
 Sets the memory padding percent (as a fraction from 0.0 to 1.0) of available memory. More...
 

Detailed Description

This portion of available memory is set aside as unusable by the pager, affecting how the physical memory limit is computed from the memory limit percentage.

Function Documentation

◆ GetMemoryPaddingPercent()

virtual float GetMemoryPaddingPercent ( )
pure virtual

Returns the memory padding percent (as a fraction from 0.0 to 1.0) of available memory.

◆ SetMemoryPaddingPercent()

virtual void SetMemoryPaddingPercent ( float  percent)
pure virtual

Sets the memory padding percent (as a fraction from 0.0 to 1.0) of available memory.

Setting a higher value may decrease risk of out-of-memory crashes. Setting a lower value may increase performance.