기술 자료

Unity Engine

Unity Engine

SetUseDefaultGraphicsAPIs(BuildTarget, bool)

Should a build platform use automatic graphics API choice.
읽는 시간 1분최근 업데이트: 한 달 전

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.