Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TD3DPrimCaps::SrcBlendCaps ]
[ next: StippleHeight ]
[ prev: Size ]
public:
__property dword SrcBlendCaps = { read=FGetSrcBlendCaps, write=FSetSrcBlendCaps, default=0 };
TD3DPRIMCAPS::SRCBLENDCAPS
[ component property ]
- Description
The SrcBlendCaps property indicate the source blending capablilties that are available.
The described effect applies when the flag is set.
Each component of the RGBA value is denoted by the corresponding capitalised letter, source and destination being indicated by s and d respectively.
- Flags
D3DPBLENDCAPS_BOTHINVSRCALPHA
Support for using the inverted source alpha value as the source blend factor and the source alpha value as the destination blend factor of is available.
Source blend factor: (1-As, 1-As, 1-As, 1-As)
Destination blend factor: (As, As, As, As)
The destination blend selection is overridden.
D3DPBLENDCAPS_DESTALPHA
Support for using the destination alpha value as the blend factor is available.
Blend factor: (Ad, Ad, Ad, Ad)
D3DPBLENDCAPS_DESTCOLOR
Support for using the destination color as the blend factor is available.
Blend factor: (Rd, Gd, Bd, Ad)
D3DPBLENDCAPS_INVDESTALPHA
Support for using the inverted destination alpha value as the blend factor is available.
Blend factor: (1-Ad, 1-Ad, 1-Ad, 1-Ad)
D3DPBLENDCAPS_INVDESTCOLOR
Support for using the inverted destination color as the blend factor is available.
Blend factor: (1-Rd, 1-Gd, 1-Bd, 1-Ad)
D3DPBLENDCAPS_INVSRCALPHA
Support for using the inverted source alpha value as the blend factor is available.
Blend factor: (1-As, 1-As, 1-As, 1-As)
D3DPBLENDCAPS_INVSRCCOLOR
Support for using the inverted source color as the blend factor is available.
Blend factor: (1-Rs, 1-Gs, 1-Bs, 1-As)
D3DPBLENDCAPS_ONE
Support for a blend factor of 1 is available.
Blend factor: (1, 1, 1, 1)
D3DPBLENDCAPS_SRCALPHA
Support for using the source alpha value as the blend factor is available.
Blend factor: (As, As, As, As)
D3DPBLENDCAPS_SRCALPHASAT
Support for using the lower of the source alpha value or inverted destination alpha value as the blend factor is available.
Blend factor: (min(As, 1-Ad), min(As, 1-Ad), min(As, 1-Ad), 1)
D3DPBLENDCAPS_SRCCOLOR
Support for using the source color as the blend factor is available.
Blend factor: (Rs, Gs, Bs, As)
D3DPBLENDCAPS_ZERO
Support for a blend factor of 0 is available.
Blend factor: (0, 0, 0, 0)
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|