SetUseDefaultGraphicsAPIs(BuildTarget, bool)
Should a build platform use automatic graphics API choice.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void SetUseDefaultGraphicsAPIs(BuildTarget platform, bool automatic)
Parameters
Platform to set the flag for.
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.GetUseDefaultGraphicsAPIs, PlayerSettings.GetGraphicsAPIs, PlayerSettings.SetGraphicsAPIs.