Version: 2023.2

GraphicsDeviceType

enumeration

切换到手册

描述

图形设备 API 类型。

Many different low-level graphics APIs can be used by Unity. If for some reason you need to know whether Direct3D 9 or 11 is being used, or Vulkan or OpenGL ES 3, you can use SystemInfo.graphicsDeviceType to check for that.

另请参阅:SystemInfo.graphicsDeviceType

变量

Direct3D11Direct3D 11 图形 API。
Null没有图形 API。
OpenGLES3OpenGL ES 3.0 图形 API。(在 iOS 和 tvOS 上已弃用)
PlayStation4PlayStation 4 图形 API。
XboxOne使用 Direct3D 11 的 Xbox One 图形 API。
MetaliOS Metal 图形 API。
OpenGLCoreOpenGL(Core 配置文件 - GL3 或更高版本)图形 API。
Direct3D12Direct3D 12 图形 API。
VulkanVulkan (EXPERIMENTAL)。
SwitchNintendo Switch 图形 API。
XboxOneD3D12使用 Direct3D 12 的 Xbox One 图形 API。
GameCoreXboxOneGame Core Xbox One graphics API using Direct3D 12.
GameCoreXboxSeriesGame Core XboxSeries graphics API using Direct3D 12.
WebGPUWebGPU (EXPERIMENTAL).

Did you find this page useful? Please give it a rating: