Win32 API 日本語リファレンス
ホームGraphics.DXCore › DXCoreAdapterPreference

DXCoreAdapterPreference

列挙型
基底型u4

メンバー 3

名前10進16進
Hardware00x0
MinimumPower10x1
HighPerformance20x2

各言語での定義

列挙メンバーの定義。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 Enum
import 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* = 2
enum DXCoreAdapterPreference : uint {
    Hardware = 0,
    MinimumPower = 1,
    HighPerformance = 2,
}
#define global Hardware        0x0
#define global MinimumPower    0x1
#define global HighPerformance 0x2