|
EngineRuntimeOptionsFramesCountToReleaseEmptyMemoryBlock Field |
FramesCountToReleaseEmptyMemoryBlock defines the number of frames before an empty memory block is freed
(each frame is counted as one call to
Render(Boolean, Boolean, Boolean) method; usually this method is called 60 times per second).
Default value is 10 which means that when a memory block becomes free it will remain active until 10 frames are rendered. This helps reusing the memory blocks.
When set to value smaller than zero, then empty memory blocks are never automatically freed and user needs to call
Cleanup(Boolean, Boolean, Boolean, Boolean, Boolean) with freeEmptyMemoryBlocks parameter set to true.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static int FramesCountToReleaseEmptyMemoryBlock
Field Value
Int32See Also