 |
SceneInFlightFramesCount Property |
InFlightFramesCount represents the number of command buffer and buffers for scene and object data.
This value depends on
SwapChainImagesCount.
When SwapChainImagesCount is 1 (used for SharedTexture or WritableBitmap) then InFlightFramesCount is also 1.
When SwapChainImagesCount is 2 or 3 then, by default, InFlightFramesCount is 2.
In case when SwapChainImagesCount is 3 or more, then you can set InFlightFramesCount to 3 by setting
PreferredInFlightFramesCount to 3.
This may be beneficial when recording of the command buffers takes a long time.
The current in-flight frame index is set to
CurrentInFlightFrameIndex.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic int InFlightFramesCount { get; }Property Value
Int32
See Also