ドキュメント

Unity Engine

Unity Engine

GetGraphicsAPIs(BuildTarget)

Get graphics APIs to be used on a build platform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static GraphicsDeviceType[] GetGraphicsAPIs(BuildTarget platform)

Parameters

platform

Platform to get APIs for.

Returns

Type

Description

GraphicsDeviceType[]Array of graphics APIs.

Remarks

By default each platform is using "automatic" graphics API detection and picks the best available one (see PlayerSettings.GetUseDefaultGraphicsAPIs). However it is possible to change that to explicitly limit the graphics APIs used via PlayerSettings.SetGraphicsAPIs.