|How do you use documentation throughout your workflow? Share your experience with us by taking this survey.|
Unity supports DirectX, Metal, OpenGL, and Vulkan graphics APIs, depending on the availability of the API on a particular platform. Unity uses a built-in set of graphics APIs, or the graphics APIs that you select in the Editor.
To use Unity’s default graphics APIs:
Open the Player settings (menu: Edit > Project Settings, then select the Player category).
Navigate to Other Settings and make sure Auto Graphics API is checked:
When Auto Graphics API for a platform is checked, the Player build includes a set of built-in graphics APIs and uses the appropriate one at run time to produce a best case scenario.
When Auto Graphics API for a platform is not checked, the Editor uses the first API in the list. So, for example, to see how your application runs on OpenGL in the Editor, move OpenGLCore to the top of the list and the Editor switches to use OpenGL renderingThe process of drawing graphics to the screen (or to a render texture). By default, the main camera in Unity renders its view to the screen. More info
See in Glossary.
To override the default graphics APIs and use an alternate graphics API for the Editor and Player, uncheck the relevant Auto Graphics API, click the plus (+) button and choose the graphics API from the drop-down menu.
The graphics API at the top of the Auto Graphics API list is the default API. If the default API isn’t supported by the specific platform, Unity uses the next API in the Auto Graphics API list.
For information on how graphics rendering behaves between the platforms and ShaderA program that runs on the GPU. More info
See in Glossary language semantics, see Platform-specific rendering differences. Tessellation and geometry shaders are only supported by a subset of graphics APIs. This is controlled by the Shader Compilation Target level.