D3D_FEATURE_LEVEL枚举

设置一个Direct3D 设备的功能级别目标。

语法

typedef enum D3D_FEATURE_LEVEL {
  D3D_FEATURE_LEVEL_9_1    = 0x9100,
  D3D_FEATURE_LEVEL_9_2    = 0x9200,
  D3D_FEATURE_LEVEL_9_3    = 0x9300,
  D3D_FEATURE_LEVEL_10_0   = 0xa000,
  D3D_FEATURE_LEVEL_10_1   = 0xa100,
  D3D_FEATURE_LEVEL_11_0   = 0xb000 
} D3D_FEATURE_LEVEL;

常量

D3D_FEATURE_LEVEL_9_1 

目标功能级别支持Direct3D 9.1包含 shader model 2.


D3D_FEATURE_LEVEL_9_2

目标功能级别支持Direct3D 9.2包含 shader model 2.


D3D_FEATURE_LEVEL_9_3  目标功能级别支持Direct3D 9.3包含 shader model 3.


D3D_FEATURE_LEVEL_10_0

目标功能级别支持Direct3D 10.0包含 shader model 4.


D3D_FEATURE_LEVEL_10_1

目标功能级别支持Direct3D 10.1包含 shader model 4.


D3D_FEATURE_LEVEL_11_0

目标功能级别支持Direct3D 11.0包含 shader model 5.

你可能感兴趣的:(D3D_FEATURE_LEVEL枚举)