Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseGraphics 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.
OpenGL2 | OpenGL 2.x graphics API. (deprecated, only available on Linux and MacOSX) |
Direct3D9 | Direct3D 9 graphics API. |
Direct3D11 | Direct3D 11 graphics API. |
PlayStation3 | PlayStation 3 graphics API. |
Null | No graphics API. |
Xbox360 | Xbox 360 graphics API. |
OpenGLES2 | OpenGL ES 2.0 graphics API. |
OpenGLES3 | OpenGL ES 3.0 graphics API. |
PlayStationVita | PlayStation Vita graphics API. |
PlayStation4 | PlayStation 4 graphics API. |
XboxOne | Xbox One graphics API. |
PlayStationMobile | PlayStation Mobile (PSM) graphics API. |
Metal | iOS Metal graphics API. |
OpenGLCore | OpenGL (Core profile - GL3 or later) graphics API. |
Direct3D12 | Direct3D 12 graphics API. |
Nintendo3DS | Nintendo 3DS graphics API. |