![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
Source or destination multiplier constants for color blending equations.
Lua full name: vireo.BlendFactor
Constants | |
| integer | ZERO |
| Factor is (0, 0, 0, 0) — nullifies the term. | |
| integer | ONE |
| Factor is (1, 1, 1, 1) — passes the term unchanged. | |
| integer | SRC_COLOR |
| Factor is the source color (Rs, Gs, Bs, As). | |
| integer | ONE_MINUS_SRC_COLOR |
| Factor is (1-Rs, 1-Gs, 1-Bs, 1-As). | |
| integer | DST_COLOR |
| Factor is the destination color (Rd, Gd, Bd, Ad). | |
| integer | ONE_MINUS_DST_COLOR |
| Factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad). | |
| integer | SRC_ALPHA |
| Factor is the source alpha replicated to all channels (As, As, As, As). | |
| integer | ONE_MINUS_SRC_ALPHA |
| Factor is (1-As, 1-As, 1-As, 1-As) — standard alpha blending denominator. | |
| integer | DST_ALPHA |
| Factor is the destination alpha replicated to all channels (Ad, Ad, Ad, Ad). | |
| integer | ONE_MINUS_DST_ALPHA |
| Factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad). | |
| integer | CONSTANT_COLOR |
| Factor is the pipeline blend constant color. | |
| integer | ONE_MINUS_CONSTANT_COLOR |
| Factor is one minus the pipeline blend constant color. | |
| integer | CONSTANT_ALPHA |
| Factor is the pipeline blend constant alpha. | |
| integer | ONE_MINUS_CONSTANT_ALPHA |
| Factor is one minus the pipeline blend constant alpha. | |
| integer | SRC_ALPHA_SATURATE |
| Factor is (f, f, f, 1) where f = min(As, 1-Ad). | |
| integer | SRC1_COLOR |
| Factor is the second source color (dual-source blending). | |
| integer | ONE_MINUS_SRC1_COLOR |
| Factor is one minus the second source color. | |
| integer | SRC1_ALPHA |
| Factor is the second source alpha (dual-source blending). | |
| integer | ONE_MINUS_SRC1_ALPHA |
| Factor is one minus the second source alpha. | |
| integer ZERO |
Factor is (0, 0, 0, 0) — nullifies the term.
| integer ONE |
Factor is (1, 1, 1, 1) — passes the term unchanged.
| integer SRC_COLOR |
Factor is the source color (Rs, Gs, Bs, As).
| integer ONE_MINUS_SRC_COLOR |
Factor is (1-Rs, 1-Gs, 1-Bs, 1-As).
| integer DST_COLOR |
Factor is the destination color (Rd, Gd, Bd, Ad).
| integer ONE_MINUS_DST_COLOR |
Factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
| integer SRC_ALPHA |
Factor is the source alpha replicated to all channels (As, As, As, As).
| integer ONE_MINUS_SRC_ALPHA |
Factor is (1-As, 1-As, 1-As, 1-As) — standard alpha blending denominator.
| integer DST_ALPHA |
Factor is the destination alpha replicated to all channels (Ad, Ad, Ad, Ad).
| integer ONE_MINUS_DST_ALPHA |
Factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad).
| integer CONSTANT_COLOR |
Factor is the pipeline blend constant color.
| integer ONE_MINUS_CONSTANT_COLOR |
Factor is one minus the pipeline blend constant color.
| integer CONSTANT_ALPHA |
Factor is the pipeline blend constant alpha.
| integer ONE_MINUS_CONSTANT_ALPHA |
Factor is one minus the pipeline blend constant alpha.
| integer SRC_ALPHA_SATURATE |
Factor is (f, f, f, 1) where f = min(As, 1-Ad).
| integer SRC1_COLOR |
Factor is the second source color (dual-source blending).
| integer ONE_MINUS_SRC1_COLOR |
Factor is one minus the second source color.
| integer SRC1_ALPHA |
Factor is the second source alpha (dual-source blending).
| integer ONE_MINUS_SRC1_ALPHA |
Factor is one minus the second source alpha.