Constants used by C3DMesh::SetAlphaSource and C3DMesh::SetAlphaDest
Constant
|
Description
|
D3DBLEND_BLENDFACTOR
|
Constant color blending factor used by the frame-buffer blender.
|
D3DBLEND_DESTALPHA
|
Blend factor is (Ad, Ad, Ad, Ad).
|
D3DBLEND_DESTCOLOR
|
Blend factor is (Rd, Gd, Bd, Ad).
|
D3DBLEND_INVBLENDFACTOR
|
Inverted constant color-blending factor used by the frame-buffer blender.
|
D3DBLEND_INVDESTALPHA
|
Blend factor is (1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad).
|
D3DBLEND_INVDESTCOLOR
|
Blend factor is (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad).
|
D3DBLEND_INVSRCALPHA
|
Blend factor is ( 1 - As, 1 - As, 1 - As, 1 - As).
|
D3DBLEND_INVSRCCOLOR
|
Blend factor is (1 - Rs, 1 - Gs, 1 - Bs, 1 - As).
|
D3DBLEND_ONE
|
Blend factor is (1, 1, 1, 1).
|
D3DBLEND_SRCALPHA
|
Blend factor is (As, As, As, As).
|
D3DBLEND_SRCALPHASAT
|
Blend factor is (f, f, f, 1); f = min(As, 1 - Ad).
|
D3DBLEND_SRCCOLOR
|
Blend factor is (Rs, Gs, Bs, As).
|
D3DBLEND_ZERO
|
Blend factor is (0, 0, 0, 0).
|
|