GetUseDefaultGraphicsAPIs(BuildTarget)
Is a build platform using automatic graphics API choice?
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool GetUseDefaultGraphicsAPIs(BuildTarget platform)
Parameters
Platform to get the flag for.
Returns
Type | Description |
|---|---|
| bool | Should best available graphics API be used. |
Remarks
By default each platform is using "automatic" graphics API detection and picks the best available one. However it is possible to change that to explicitly limit the graphics APIs used, see PlayerSettings.SetGraphicsAPIs.
Additional Resources: PlayerSettings.SetUseDefaultGraphicsAPIs, PlayerSettings.GetGraphicsAPIs, PlayerSettings.SetGraphicsAPIs.