www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx_3DI_Library v1.90 Component Reference
|
|
[ TD3DPrimCaps::ZCmpCaps ]
[ prev: TextureFilterCaps ]
public:
__property dword ZCmpCaps = { read=FGetZCmpCaps, write=FSetZCmpCaps, default=0 };
TD3DPRIMCAPS::ZCMPCAPS
[ component property ]
- Description
These flags indicate what Z buffer comparison functions are available.
The described effect applies when the flag is set.
Z comparisons determine whether or not to draw a z-buffered pixel.
- 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: admin@bcb-tools.com.
|
|