Click or drag to resize
AB4D logo

DXDeviceStandardSwapEffect Field

Gets or sets a SwapEffect that is used to create the SwapChain (if supported by the operating system and device). By default this value is set to FlipDiscard that is used if supported by OS. Otherwise FlipSequential is used and if this is not supported then Discard is used.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static SwapEffect StandardSwapEffect

Field Value

SwapEffect
Remarks

Gets or sets a SwapEffect that is used to create the SwapChain (if supported by the operating system and device). By default this value is set to FlipDiscard.

If StandardSwapEffect is set to FlipDiscard then it is used when DXGI 1.4 is supported (on Windows 10). If FlipDiscard is not supported, then FlipSequential is used (required DXGI 1.2 - also supported on Windows 7 with Platform update). You can also set the value to Discard to use the bit-block transfer (bitblt) model.

When using FlipDiscard or FlipSequential, then SwapChain is created with 2 back-buffers (triple buffering). When using Discard, then SwapChain is created with 1 back-buffer (double buffering).

See Also