![]() |
wisdom
|
C version:
C++ version:
Blend factor for color blending operations.
D3D12_BLEND for DirectX 12 implementation, and VkBlendFactor for Vulkan implementation.Values:
WisBlendFactorZero = 1: Use zero for blending.WisBlendFactorOne = 2: Use one for blending.WisBlendFactorSrcColor = 3: Use the source color for blending.WisBlendFactorInvSrcColor = 4: Use the inverse source color for blending.WisBlendFactorSrcAlpha = 5: Use the source alpha for blending.WisBlendFactorInvSrcAlpha = 6: Use the inverse source alpha for blending.WisBlendFactorDestAlpha = 7: Use the destination alpha for blending.WisBlendFactorInvDestAlpha = 8: Use the inverse destination alpha for blending.WisBlendFactorDestColor = 9: Use the destination color for blending.WisBlendFactorInvDestColor = 10: Use the inverse destination color for blending.WisBlendFactorSrcAlphaSat = 11: Use the source alpha saturated for blending.WisBlendFactorConstantColor = 14: Use a constant blend factor for blending.WisBlendFactorInvBlendFactor = 15: Use the inverse constant blend factor for blending.WisBlendFactorSrc1Color = 16: Use the source color for blending. Dual source blending mode.WisBlendFactorInvSrc1Color = 17: Use the inverse source color for blending. Dual source blending mode.WisBlendFactorSrc1Alpha = 18: Use the source alpha for blending. Dual source blending mode.WisBlendFactorInvSrc1Alpha = 19: Use the inverse source alpha for blending. Dual source blending mode.