![]() |
wisdom
|
C version:
C++ version:
Composite alpha flags for swapchain creation.
DXGI_ALPHA_MODE for DirectX 12 implementation, and VkCompositeAlphaFlagBitsKHR for Vulkan implementation.Values:
WisCompositeAlphaOpaque = 0: The alpha channel, if it exists, is ignored. The image is treated as opaque.WisCompositeAlphaPreMultiplied = 1: The alpha channel, if it exists, is respected and used in compositing. The premultiplied alpha format is expected.WisCompositeAlphaPostMultiplied = 2: The alpha channel, if it exists, is respected and used in compositing. The postmultiplied alpha format is expected.WisCompositeAlphaInherit = 3: The alpha channel, if it exists, is respected and used in compositing based on the platform's default behavior.