GetGraphicsAPIs(BuildTarget)
Get graphics APIs to be used on a build platform.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static GraphicsDeviceType[] GetGraphicsAPIs(BuildTarget platform)
Parameters
Platform to get APIs for.
Returns
Type | Description |
|---|---|
| GraphicsDeviceType[] | Array of graphics APIs. |
Remarks
By default each platform is using "automatic" graphics API detection and picks the best available one (see PlayerSettings.GetUseDefaultGraphicsAPIs). However it is possible to change that to explicitly limit the graphics APIs used via PlayerSettings.SetGraphicsAPIs.