nw::gfx::res::ResBlendOperation::BlendFactor Enumerated Type

Syntax

enum BlendFactor;

Value

Value Description
BLENDFACTOR_ZERO Uses 0 for the specified component.
BLENDFACTOR_ONE Uses 1 for the specified component.
BLENDFACTOR_SRC_COLOR Uses the source color for the specified component.
BLENDFACTOR_ONE_MINUS_SRC_COLOR Uses the 1 minus the source color for the specified component.
BLENDFACTOR_DST_COLOR Uses the destination color for the specified component.
BLENDFACTOR_ONE_MINUS_DST_COLOR Uses the 1 minus the destination color for the specified component.
BLENDFACTOR_SRC_ALPHA Uses the source alpha for the specified component.
BLENDFACTOR_ONE_MINUS_SRC_ALPHA Uses the 1 minus the source alpha for the specified component.
BLENDFACTOR_DST_ALPHA Uses the destination color for the specified component.
BLENDFACTOR_ONE_MINUS_DST_ALPHA Uses the 1 minus the destination alpha for the specified component.
BLENDFACTOR_CONSTANT_COLOR Uses the constant color (blend color) for the specified component.
BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR Uses the 1 minus the constant color for the specified component.
BLENDFACTOR_CONSTANT_ALPHA Uses the constant alpha (blend color) for the specified component.
BLENDFACTOR_ONE_MINUS_CONSTANT_ALPHA Uses the 1 minus the constant alpha for the specified component.
BLENDFACTOR_SRC_ALPHA_SATURATE Uses MIN(source alpha, 1 minus the destination alpha) for the specified component.

Description

Definition of I/O components.

MIN(a,b) represents the smaller of a and b.


CONFIDENTIAL