ホーム › Graphics.Direct3D9 › D3DSTENCILOP
D3DSTENCILOP
列挙型メンバー 8
| 名前 | 10進 | 16進 |
|---|---|---|
| D3DSTENCILOP_KEEP | 1 | 0x1 |
| D3DSTENCILOP_ZERO | 2 | 0x2 |
| D3DSTENCILOP_REPLACE | 3 | 0x3 |
| D3DSTENCILOP_INCRSAT | 4 | 0x4 |
| D3DSTENCILOP_DECRSAT | 5 | 0x5 |
| D3DSTENCILOP_INVERT | 6 | 0x6 |
| D3DSTENCILOP_INCR | 7 | 0x7 |
| D3DSTENCILOP_DECR | 8 | 0x8 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum D3DSTENCILOP : int {
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;public enum D3DSTENCILOP : int
{
D3DSTENCILOP_KEEP = 1,
D3DSTENCILOP_ZERO = 2,
D3DSTENCILOP_REPLACE = 3,
D3DSTENCILOP_INCRSAT = 4,
D3DSTENCILOP_DECRSAT = 5,
D3DSTENCILOP_INVERT = 6,
D3DSTENCILOP_INCR = 7,
D3DSTENCILOP_DECR = 8,
}Public Enum D3DSTENCILOP As Integer
D3DSTENCILOP_KEEP = 1
D3DSTENCILOP_ZERO = 2
D3DSTENCILOP_REPLACE = 3
D3DSTENCILOP_INCRSAT = 4
D3DSTENCILOP_DECRSAT = 5
D3DSTENCILOP_INVERT = 6
D3DSTENCILOP_INCR = 7
D3DSTENCILOP_DECR = 8
End Enumimport enum
class D3DSTENCILOP(enum.IntEnum):
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
pub const D3DSTENCILOP_KEEP: i32 = 1;
pub const D3DSTENCILOP_ZERO: i32 = 2;
pub const D3DSTENCILOP_REPLACE: i32 = 3;
pub const D3DSTENCILOP_INCRSAT: i32 = 4;
pub const D3DSTENCILOP_DECRSAT: i32 = 5;
pub const D3DSTENCILOP_INVERT: i32 = 6;
pub const D3DSTENCILOP_INCR: i32 = 7;
pub const D3DSTENCILOP_DECR: i32 = 8;// D3DSTENCILOP
const (
D3DSTENCILOP_KEEP int32 = 1
D3DSTENCILOP_ZERO int32 = 2
D3DSTENCILOP_REPLACE int32 = 3
D3DSTENCILOP_INCRSAT int32 = 4
D3DSTENCILOP_DECRSAT int32 = 5
D3DSTENCILOP_INVERT int32 = 6
D3DSTENCILOP_INCR int32 = 7
D3DSTENCILOP_DECR int32 = 8
)const
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
pub const D3DSTENCILOP_KEEP: i32 = 1;
pub const D3DSTENCILOP_ZERO: i32 = 2;
pub const D3DSTENCILOP_REPLACE: i32 = 3;
pub const D3DSTENCILOP_INCRSAT: i32 = 4;
pub const D3DSTENCILOP_DECRSAT: i32 = 5;
pub const D3DSTENCILOP_INVERT: i32 = 6;
pub const D3DSTENCILOP_INCR: i32 = 7;
pub const D3DSTENCILOP_DECR: i32 = 8;const
D3DSTENCILOP_KEEP* = 1
D3DSTENCILOP_ZERO* = 2
D3DSTENCILOP_REPLACE* = 3
D3DSTENCILOP_INCRSAT* = 4
D3DSTENCILOP_DECRSAT* = 5
D3DSTENCILOP_INVERT* = 6
D3DSTENCILOP_INCR* = 7
D3DSTENCILOP_DECR* = 8enum D3DSTENCILOP : int {
D3DSTENCILOP_KEEP = 1,
D3DSTENCILOP_ZERO = 2,
D3DSTENCILOP_REPLACE = 3,
D3DSTENCILOP_INCRSAT = 4,
D3DSTENCILOP_DECRSAT = 5,
D3DSTENCILOP_INVERT = 6,
D3DSTENCILOP_INCR = 7,
D3DSTENCILOP_DECR = 8,
}#define global D3DSTENCILOP_KEEP 0x1
#define global D3DSTENCILOP_ZERO 0x2
#define global D3DSTENCILOP_REPLACE 0x3
#define global D3DSTENCILOP_INCRSAT 0x4
#define global D3DSTENCILOP_DECRSAT 0x5
#define global D3DSTENCILOP_INVERT 0x6
#define global D3DSTENCILOP_INCR 0x7
#define global D3DSTENCILOP_DECR 0x8