Click or drag to resize
Ab4d.SharpEngine logo

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.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static int FramesCountToReleaseEmptyMemoryBlock

Field Value

Int32
See Also