Platform SDK: DirectX |
D3DSTENCILOP 列挙型は、D3DRENDERSTATE_STENCILFAIL、D3DRENDERSTATE_STENCILZFAIL、および D3DRENDERSTATE_STENCILPASS レンダリング ステートのステンシル処理を記述する。
typedef enum _D3DSTENCILOP { D3DSTENCILOP_KEEP = 1, D3DSTENCILOP_ZERO = 2, D3DSTENCILOP_REPLACE = 3, D3DSTENCILOP_INCRSAT = 4, D3DSTENCILOP_DECRSAT = 5, D3DSTENCILOP_INVERT = 6, D3DSTENCILOP_INCR = 7, D3DSTENCILOP_DECR = 8, D3DSTENCILOP_FORCE_DWORD = 0x7fffffff } D3DSTENCILOP;
ステンシル バッファの項目は 0 から 2n -1 までの範囲の整数値である。n はステンシル バッファのビット深度。
Windows NT/2000 :Windows 2000 が必要。
Windows 95/98 : Windows 95 以降が必要。Windows 95 用に再配布可能な形で使用可能。
バージョン : DirectX 6.0 以降が必要。
ヘッダー : d3dtypes.h で宣言。