When paging is enabled, the pager swaps bitmap tiles from memory to disk, keeping the total bitmap usage below this limit. More...
Functions |
|
virtual float | GetMemoryLimitPercent ()=0 |
Returns the memory limit percentage (as a
fraction from 0.0 to 1.0) of available padded memory. |
|
virtual void | SetMemoryLimitPercent (float percent)=0 |
Sets the memory limit percentage (as a
fraction from 0.0 to 1.0) of available padded memory. |
When paging is enabled, the pager swaps bitmap tiles from memory to disk, keeping the total bitmap usage below this limit.
This is measured as a percentage of available padded memory. Internally, a physical limit (in megabytes) is calculated from the percentage at specific times, during file load, file reset, render begin and render end. Whenf Memory Limit Auto Mode is enabled, the Memory Limit Percentage is overwritten on every Auto Mode update.
virtual float GetMemoryLimitPercent | ( | ) | [pure virtual, inherited] |
Returns the memory limit percentage (as a fraction from 0.0 to 1.0) of available padded memory.
virtual void SetMemoryLimitPercent | ( | float | percent | ) | [pure virtual, inherited] |
Sets the memory limit percentage (as a fraction from 0.0 to 1.0) of available padded memory.
This method forces an immediate recalculation of the physical limit, and swaps bitmap tiles from memory to disk if necessary.