# GetGraphicsAPIs(BuildTarget)

> Get graphics APIs to be used on a build platform.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static GraphicsDeviceType[] GetGraphicsAPIs(BuildTarget platform)
```

### Parameters

**** (\[BuildTarget]\(/engine/6000.6/script-reference/unityeditor/buildtarget)): Platform to get APIs for.

### Returns

| Type                                                                                                  | Description             |
| ----------------------------------------------------------------------------------------------------- | ----------------------- |
| [GraphicsDeviceType\[\]](/engine/6000.6/script-reference/unityengine/rendering/graphicsdevicetype.md) | Array of graphics APIs. |

### Remarks

By default each platform is using "automatic" graphics API detection and picks the best available one (see [PlayerSettings.GetUseDefaultGraphicsAPIs](/engine/6000.6/script-reference/unityeditor/playersettings/getusedefaultgraphicsapis.md)). However it is possible to change that to explicitly limit the graphics APIs used via [PlayerSettings.SetGraphicsAPIs](/engine/6000.6/script-reference/unityeditor/playersettings/setgraphicsapis.md).

Additional Resources: [PlayerSettings.SetGraphicsAPIs](/engine/6000.6/script-reference/unityeditor/playersettings/setgraphicsapis.md), [PlayerSettings.SetUseDefaultGraphicsAPIs](/engine/6000.6/script-reference/unityeditor/playersettings/setusedefaultgraphicsapis.md), [PlayerSettings.GetUseDefaultGraphicsAPIs](/engine/6000.6/script-reference/unityeditor/playersettings/getusedefaultgraphicsapis.md).
