Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TD3DPrimCaps::AlphaCmpCaps ]
[ next: DestBlendCaps ]
public:
__property dword AlphaCmpCaps = { read=FGetAlphaCmpCaps, write=FSetAlphaCmpCaps, default=0 };
TD3DPRIMCAPS::ALPHACMPCAPS
[ component property ]
- Description
The AlphaCmpCaps property indicates which alpha test comparisons are available.
The described effect applies when the flag is set.
Alpha tests are not supported if only 0, D3DPCMPCAPS_ALWAYS or D3DPCMPCAPS_NEVER are set.
- Flags
D3DPCMPCAPS_ALWAYS
Z-comparisions are not supported and all z-comparisions will be passed.
D3DPCMPCAPS_EQUAL
Equality z-comparisons are available, the test being passed if the new z-value is equal to the current z-value.
D3DPCMPCAPS_GREATER
Greater than z-comparisions are available, the test being passed if the new z-value is greater than the current z-value.
D3DPCMPCAPS_GREATEREQUAL
Greater than or equal to z-comparisons are available, the test being passed if the new z-value is greater than or equal to the current z-value.
D3DPCMPCAPS_LESS
Less than z-comparisions are available, the test being passed if the new z-value is less than the current z-value.
D3DPCMPCAPS_LESSEQUAL
Less than or equal to z-comparisions are available, the test being passed if the new z-value is less than or equal to the current z-value.
D3DPCMPCAPS_NEVER
Z-comparisions are unavailable and all z-comparisions will be failed.
D3DPCMPCAPS_NOTEQUAL
Not equal z-comparisions are available, the test being passed if the new z-value is not equal to the current z-value.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|