Click or drag to resize
Ab4d.SharpEngine logo

SharpEngineSceneView.UseSwapChainPanelForSharedTexture 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: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
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