ホーム › Graphics.DXCore › DXCoreAdapterPreference
DXCoreAdapterPreference
列挙型メンバー 3
| 名前 | 10進 | 16進 |
|---|---|---|
| Hardware | 0 | 0x0 |
| MinimumPower | 1 | 0x1 |
| HighPerformance | 2 | 0x2 |
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum DXCoreAdapterPreference : unsigned int {
Hardware = 0,
MinimumPower = 1,
HighPerformance = 2
} DXCoreAdapterPreference;public enum DXCoreAdapterPreference : uint
{
Hardware = 0,
MinimumPower = 1,
HighPerformance = 2,
}Public Enum DXCoreAdapterPreference As UInteger
Hardware = 0
MinimumPower = 1
HighPerformance = 2
End Enumimport enum
class DXCoreAdapterPreference(enum.IntEnum):
Hardware = 0
MinimumPower = 1
HighPerformance = 2// DXCoreAdapterPreference
pub const Hardware: u32 = 0;
pub const MinimumPower: u32 = 1;
pub const HighPerformance: u32 = 2;// DXCoreAdapterPreference
const (
Hardware uint32 = 0
MinimumPower uint32 = 1
HighPerformance uint32 = 2
)const
Hardware = 0;
MinimumPower = 1;
HighPerformance = 2;// DXCoreAdapterPreference
pub const Hardware: u32 = 0;
pub const MinimumPower: u32 = 1;
pub const HighPerformance: u32 = 2;const
Hardware* = 0
MinimumPower* = 1
HighPerformance* = 2enum DXCoreAdapterPreference : uint {
Hardware = 0,
MinimumPower = 1,
HighPerformance = 2,
}#define global Hardware 0x0
#define global MinimumPower 0x1
#define global HighPerformance 0x2