GraphicsDeviceType
enumeration
Description 描述
Graphics device API type.
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 OpenGL ES 2 or 3, you can use SystemInfo.graphicsDeviceType
to check for that.
See Also: SystemInfo.graphicsDeviceType.
Properties 属性
| Direct3D11 | Direct3D 11 graphics API. | ||
| Null | No graphics API. | ||
| OpenGLES2 | OpenGL ES 2.0 graphics API. | ||
| OpenGLES3 | OpenGL ES 3.0 graphics API. | ||
| PlayStation4 | PlayStation 4 graphics API. | ||
| XboxOne | Xbox One graphics API using Direct3D 11. | ||
| Metal | iOS Metal graphics API. | ||
| OpenGLCore | OpenGL (Core profile - GL3 or later) graphics API. | ||
| Direct3D12 | Direct3D 12 graphics API. | ||
| Vulkan | Vulkan (EXPERIMENTAL). | ||
| Switch | Nintendo Switch graphics API. | ||
| XboxOneD3D12 | Xbox One graphics API using Direct3D 12. |