Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneViewUseSwapChainPanelForSharedTexture Property

When true (by default) then WinUI's SwapChainPanel is used for SharedTexturePresentationType. When false, then WinUI's SurfaceImageSource is used. See Remarks for more info.

Namespace: Ab4d.SharpEngine.WinUI
Assembly: Ab4d.SharpEngine.WinUI (in Ab4d.SharpEngine.WinUI.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool UseSwapChainPanelForSharedTexture { get; set; }

Property Value

Boolean
Remarks

When true (by default) then WinUI's SwapChainPanel is used for SharedTexturePresentationType. When false, then WinUI's SurfaceImageSource is used.

Using SwapChainPanel is faster and recommended by WinUI. In this mode, the content behind SwapChainPanel is not shown (for example background of a parent control). SurfaceImageSource supports full composition so that background is visible through the SharpEngineSceneView (when Background is Transparent), but it may not work correctly on all systems and with all graphics cards.

This value can be changed only before the SharpEngineSceneView is initialized.

See Also