ホーム › Graphics.Direct3D9 › D3DSAMPLERSTATETYPE
D3DSAMPLERSTATETYPE
列挙型メンバー 13
| 名前 | 10進 | 16進 |
|---|---|---|
| D3DSAMP_ADDRESSU | 1 | 0x1 |
| D3DSAMP_ADDRESSV | 2 | 0x2 |
| D3DSAMP_ADDRESSW | 3 | 0x3 |
| D3DSAMP_BORDERCOLOR | 4 | 0x4 |
| D3DSAMP_MAGFILTER | 5 | 0x5 |
| D3DSAMP_MINFILTER | 6 | 0x6 |
| D3DSAMP_MIPFILTER | 7 | 0x7 |
| D3DSAMP_MIPMAPLODBIAS | 8 | 0x8 |
| D3DSAMP_MAXMIPLEVEL | 9 | 0x9 |
| D3DSAMP_MAXANISOTROPY | 10 | 0xA |
| D3DSAMP_SRGBTEXTURE | 11 | 0xB |
| D3DSAMP_ELEMENTINDEX | 12 | 0xC |
| D3DSAMP_DMAPOFFSET | 13 | 0xD |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum D3DSAMPLERSTATETYPE : int {
D3DSAMP_ADDRESSU = 1,
D3DSAMP_ADDRESSV = 2,
D3DSAMP_ADDRESSW = 3,
D3DSAMP_BORDERCOLOR = 4,
D3DSAMP_MAGFILTER = 5,
D3DSAMP_MINFILTER = 6,
D3DSAMP_MIPFILTER = 7,
D3DSAMP_MIPMAPLODBIAS = 8,
D3DSAMP_MAXMIPLEVEL = 9,
D3DSAMP_MAXANISOTROPY = 10,
D3DSAMP_SRGBTEXTURE = 11,
D3DSAMP_ELEMENTINDEX = 12,
D3DSAMP_DMAPOFFSET = 13
} D3DSAMPLERSTATETYPE;public enum D3DSAMPLERSTATETYPE : int
{
D3DSAMP_ADDRESSU = 1,
D3DSAMP_ADDRESSV = 2,
D3DSAMP_ADDRESSW = 3,
D3DSAMP_BORDERCOLOR = 4,
D3DSAMP_MAGFILTER = 5,
D3DSAMP_MINFILTER = 6,
D3DSAMP_MIPFILTER = 7,
D3DSAMP_MIPMAPLODBIAS = 8,
D3DSAMP_MAXMIPLEVEL = 9,
D3DSAMP_MAXANISOTROPY = 10,
D3DSAMP_SRGBTEXTURE = 11,
D3DSAMP_ELEMENTINDEX = 12,
D3DSAMP_DMAPOFFSET = 13,
}Public Enum D3DSAMPLERSTATETYPE As Integer
D3DSAMP_ADDRESSU = 1
D3DSAMP_ADDRESSV = 2
D3DSAMP_ADDRESSW = 3
D3DSAMP_BORDERCOLOR = 4
D3DSAMP_MAGFILTER = 5
D3DSAMP_MINFILTER = 6
D3DSAMP_MIPFILTER = 7
D3DSAMP_MIPMAPLODBIAS = 8
D3DSAMP_MAXMIPLEVEL = 9
D3DSAMP_MAXANISOTROPY = 10
D3DSAMP_SRGBTEXTURE = 11
D3DSAMP_ELEMENTINDEX = 12
D3DSAMP_DMAPOFFSET = 13
End Enumimport enum
class D3DSAMPLERSTATETYPE(enum.IntEnum):
D3DSAMP_ADDRESSU = 1
D3DSAMP_ADDRESSV = 2
D3DSAMP_ADDRESSW = 3
D3DSAMP_BORDERCOLOR = 4
D3DSAMP_MAGFILTER = 5
D3DSAMP_MINFILTER = 6
D3DSAMP_MIPFILTER = 7
D3DSAMP_MIPMAPLODBIAS = 8
D3DSAMP_MAXMIPLEVEL = 9
D3DSAMP_MAXANISOTROPY = 10
D3DSAMP_SRGBTEXTURE = 11
D3DSAMP_ELEMENTINDEX = 12
D3DSAMP_DMAPOFFSET = 13// D3DSAMPLERSTATETYPE
pub const D3DSAMP_ADDRESSU: i32 = 1;
pub const D3DSAMP_ADDRESSV: i32 = 2;
pub const D3DSAMP_ADDRESSW: i32 = 3;
pub const D3DSAMP_BORDERCOLOR: i32 = 4;
pub const D3DSAMP_MAGFILTER: i32 = 5;
pub const D3DSAMP_MINFILTER: i32 = 6;
pub const D3DSAMP_MIPFILTER: i32 = 7;
pub const D3DSAMP_MIPMAPLODBIAS: i32 = 8;
pub const D3DSAMP_MAXMIPLEVEL: i32 = 9;
pub const D3DSAMP_MAXANISOTROPY: i32 = 10;
pub const D3DSAMP_SRGBTEXTURE: i32 = 11;
pub const D3DSAMP_ELEMENTINDEX: i32 = 12;
pub const D3DSAMP_DMAPOFFSET: i32 = 13;// D3DSAMPLERSTATETYPE
const (
D3DSAMP_ADDRESSU int32 = 1
D3DSAMP_ADDRESSV int32 = 2
D3DSAMP_ADDRESSW int32 = 3
D3DSAMP_BORDERCOLOR int32 = 4
D3DSAMP_MAGFILTER int32 = 5
D3DSAMP_MINFILTER int32 = 6
D3DSAMP_MIPFILTER int32 = 7
D3DSAMP_MIPMAPLODBIAS int32 = 8
D3DSAMP_MAXMIPLEVEL int32 = 9
D3DSAMP_MAXANISOTROPY int32 = 10
D3DSAMP_SRGBTEXTURE int32 = 11
D3DSAMP_ELEMENTINDEX int32 = 12
D3DSAMP_DMAPOFFSET int32 = 13
)const
D3DSAMP_ADDRESSU = 1;
D3DSAMP_ADDRESSV = 2;
D3DSAMP_ADDRESSW = 3;
D3DSAMP_BORDERCOLOR = 4;
D3DSAMP_MAGFILTER = 5;
D3DSAMP_MINFILTER = 6;
D3DSAMP_MIPFILTER = 7;
D3DSAMP_MIPMAPLODBIAS = 8;
D3DSAMP_MAXMIPLEVEL = 9;
D3DSAMP_MAXANISOTROPY = 10;
D3DSAMP_SRGBTEXTURE = 11;
D3DSAMP_ELEMENTINDEX = 12;
D3DSAMP_DMAPOFFSET = 13;// D3DSAMPLERSTATETYPE
pub const D3DSAMP_ADDRESSU: i32 = 1;
pub const D3DSAMP_ADDRESSV: i32 = 2;
pub const D3DSAMP_ADDRESSW: i32 = 3;
pub const D3DSAMP_BORDERCOLOR: i32 = 4;
pub const D3DSAMP_MAGFILTER: i32 = 5;
pub const D3DSAMP_MINFILTER: i32 = 6;
pub const D3DSAMP_MIPFILTER: i32 = 7;
pub const D3DSAMP_MIPMAPLODBIAS: i32 = 8;
pub const D3DSAMP_MAXMIPLEVEL: i32 = 9;
pub const D3DSAMP_MAXANISOTROPY: i32 = 10;
pub const D3DSAMP_SRGBTEXTURE: i32 = 11;
pub const D3DSAMP_ELEMENTINDEX: i32 = 12;
pub const D3DSAMP_DMAPOFFSET: i32 = 13;const
D3DSAMP_ADDRESSU* = 1
D3DSAMP_ADDRESSV* = 2
D3DSAMP_ADDRESSW* = 3
D3DSAMP_BORDERCOLOR* = 4
D3DSAMP_MAGFILTER* = 5
D3DSAMP_MINFILTER* = 6
D3DSAMP_MIPFILTER* = 7
D3DSAMP_MIPMAPLODBIAS* = 8
D3DSAMP_MAXMIPLEVEL* = 9
D3DSAMP_MAXANISOTROPY* = 10
D3DSAMP_SRGBTEXTURE* = 11
D3DSAMP_ELEMENTINDEX* = 12
D3DSAMP_DMAPOFFSET* = 13enum D3DSAMPLERSTATETYPE : int {
D3DSAMP_ADDRESSU = 1,
D3DSAMP_ADDRESSV = 2,
D3DSAMP_ADDRESSW = 3,
D3DSAMP_BORDERCOLOR = 4,
D3DSAMP_MAGFILTER = 5,
D3DSAMP_MINFILTER = 6,
D3DSAMP_MIPFILTER = 7,
D3DSAMP_MIPMAPLODBIAS = 8,
D3DSAMP_MAXMIPLEVEL = 9,
D3DSAMP_MAXANISOTROPY = 10,
D3DSAMP_SRGBTEXTURE = 11,
D3DSAMP_ELEMENTINDEX = 12,
D3DSAMP_DMAPOFFSET = 13,
}#define global D3DSAMP_ADDRESSU 0x1
#define global D3DSAMP_ADDRESSV 0x2
#define global D3DSAMP_ADDRESSW 0x3
#define global D3DSAMP_BORDERCOLOR 0x4
#define global D3DSAMP_MAGFILTER 0x5
#define global D3DSAMP_MINFILTER 0x6
#define global D3DSAMP_MIPFILTER 0x7
#define global D3DSAMP_MIPMAPLODBIAS 0x8
#define global D3DSAMP_MAXMIPLEVEL 0x9
#define global D3DSAMP_MAXANISOTROPY 0xA
#define global D3DSAMP_SRGBTEXTURE 0xB
#define global D3DSAMP_ELEMENTINDEX 0xC
#define global D3DSAMP_DMAPOFFSET 0xD