Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Platform to set the flag for.

automatic

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.