Win32CompositionMode
enum · ferroui-win32 · v0.5.0
enum Win32CompositionMode
Represents the Win32 window composition mode.
Members
WinUIComposition
WinUIComposition = 1
Render to a texture inside the Windows.UI.Composition tree.
Supported on Windows 10 build 17134 and above. Ignored on other
versions. This is recommended option, as it allows window acrylic
effects and high refresh rate rendering. Can only be applied with
Win32RenderingMode::AngleEgl.
DirectComposition
DirectComposition = 2
Render to a texture inside the DirectComposition tree.
Supported on Windows 8 and above. Ignored on other versions. Can
only be applied with Win32RenderingMode::AngleEgl.
LowLatencyDxgiSwapChain
LowLatencyDxgiSwapChain = 3
When LowLatencyDxgiSwapChain is
active, renders to a swap chain using a DXGI waitable object, which
is non blocking, and gives the lowest input latency.
Requires Windows 8 and above. Can only be applied with
Win32RenderingMode::AngleEgl.
RedirectionSurface
RedirectionSurface = 4
The window renders to a redirection surface.
This option is kept only for compatibility with older systems. Some features (like transparency) might not work.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedIUnknownImplResourceKeyObjectPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqEqHash
Availability
Extracted for aarch64-apple-darwin, x86_64-pc-windows-msvc. Cargo features are listed in the crate index.