Enum RenderingDevice.BlendFactor
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.BlendFactor : long
Fields
ConstantAlpha = 12
Color and alpha blend factor is
blend constant alpha
(see DrawListSetBlendConstants(long, Color)).ConstantColor = 10
Color blend factor is
blend constant color
. Alpha blend factor isblend constant alpha
(see DrawListSetBlendConstants(long, Color)).DstAlpha = 8
Color and alpha blend factor is
destination alpha
.DstColor = 4
Color blend factor is
destination color
. Alpha blend factor isdestination alpha
.Max = 19
Represents the size of the RenderingDevice.BlendFactor enum.
One = 1
Constant
1.0
blend factor.OneMinusConstantAlpha = 13
Color and alpha blend factor is
1.0 - blend constant alpha
(see DrawListSetBlendConstants(long, Color)).OneMinusConstantColor = 11
Color blend factor is
1.0 - blend constant color
. Alpha blend factor is1.0 - blend constant alpha
(see DrawListSetBlendConstants(long, Color)).OneMinusDstAlpha = 9
Color and alpha blend factor is
1.0 - destination alpha
.OneMinusDstColor = 5
Color blend factor is
1.0 - destination color
. Alpha blend factor is1.0 - destination alpha
.OneMinusSrc1Alpha = 18
Color and alpha blend factor is
1.0 - second source alpha
. Only relevant for dual-source blending.OneMinusSrc1Color = 16
Color blend factor is
1.0 - second source color
. Alpha blend factor is1.0 - second source alpha
. Only relevant for dual-source blending.OneMinusSrcAlpha = 7
Color and alpha blend factor is
1.0 - source alpha
.OneMinusSrcColor = 3
Color blend factor is
1.0 - source color
. Alpha blend factor is1.0 - source alpha
.Src1Alpha = 17
Color and alpha blend factor is
second source alpha
. Only relevant for dual-source blending.Src1Color = 15
Color blend factor is
second source color
. Alpha blend factor issecond source alpha
. Only relevant for dual-source blending.SrcAlpha = 6
Color and alpha blend factor is
source alpha
.SrcAlphaSaturate = 14
Color blend factor is
min(source alpha, 1.0 - destination alpha)
. Alpha blend factor is1.0
.SrcColor = 2
Color blend factor is
source color
. Alpha blend factor issource alpha
.Zero = 0
Constant
0.0
blend factor.