Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_3DI_Library v2.00 Component Reference
|
|
[ TD3DDeviceDesc::StencilCaps ]
[ next: TextureOpCaps ]
[ prev: Size ]
public:
__property dword StencilCaps = { read=FGetStencilCaps, write=FSetStencilCaps, default=0 };
TD3DDEVICEDESC::STENCILCAPS
[ component property ]
- Description
The StencilCaps property defines the stencil-buffer capabilities of the device.
The described effect applies when the flag is set.
Stencil buffer entries are integer values between 0 through 2n-1, where n is the bit depth of the stencil buffer.
All stencil operations are assumed valid for the D3DRENDERSTATE_STENCILFAIL, D3DRENDERSTATE_STENCILPASS and D3DRENDERSTATE_STENCILFAILZFAIL render states.
- Flags
D3DSTENCILCAPS_DECR
The decrementing of the stencil buffer entry, with the value wrapping to the maximum when the result is less than 0 is supported. (D3DSTENCILOP_DECR)
D3DSTENCILCAPS_DECRSAT
The decrementing of the stencil buffer entry, with the value clamped to 0 when the result is less than 0 is supported. (D3DSTENCILOP_DECR)
D3DSTENCILCAPS_INCR
The incrementing of the stencil buffer entry, with the value wrapping to 0 when the result exceeds the maximum is supported.
D3DSTENCILCAPS_INCRSAT
The incrementing of the stencil buffer entry, with the value clamped to the maximum when the result exceeds the maximum is supported. (D3DSTENCILOP_INCR)
D3DSTENCILCAPS_INVERT
The inversion of the stencil buffer bits is supported. (D3DSTENCILOP_INVERT)
D3DSTENCILCAPS_KEEP
Keeping the entry in the stencil buffer without updating is supported. (D3DSTENCILOP_KEEP)
This is the default value for stencil operations.
D3DSTENCILCAPS_REPLACE
Replacing the stencil-buffer entry with a reference value is supported. (D3DSTENCILOP_REPLACE)
D3DSTENCILCAPS_ZERO
Setting the stencil buffer entry to 0 is supported. (D3DSTENCILOP_ZERO)
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|