Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Platform to get the flag for.

Returns

Type

Description

boolShould 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.