Click or drag to resize
AB4D logo

DXSceneSetupWaitingInBackgroundUntilRendered Method

SetupWaitingInBackgroundUntilRendered method can be used to enable waiting in background until rendering is complete (this can be used for DirectXImage PresentationType where the DXEngine needs to notify WPF when the 3D scene is rendered; this is enabled by default - the DXViewportView.IsWaitingInBackgroundUntilRendered is set to true). In this case the rendering steps in DXEngine are completed before graphic card finishes rendering. When the rendering is complete the renderingCompleteAction is called from another thread. There the user can update the shared texture. When the renderingCompleteAction parameter is null, then waiting in background is disabled.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void SetupWaitingInBackgroundUntilRendered(
	Action renderingCompleteAction
)

Parameters

renderingCompleteAction  Action
Action that is called when rendering is complete (this is called from another thread); when null, then waiting in background is disabled
See Also