# GetUseDefaultGraphicsAPIs(BuildTarget)

> Is a build platform using automatic graphics API choice?

## Definition

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

```csharp
public static bool GetUseDefaultGraphicsAPIs(BuildTarget platform)
```

### Parameters

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

### Returns

| Type                                                          | Description                                 |
| ------------------------------------------------------------- | ------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | 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](/engine/6000.3/script-reference/unityeditor/playersettings/setgraphicsapis.md).

Additional Resources: [PlayerSettings.SetUseDefaultGraphicsAPIs](/engine/6000.3/script-reference/unityeditor/playersettings/setusedefaultgraphicsapis.md), [PlayerSettings.GetGraphicsAPIs](/engine/6000.3/script-reference/unityeditor/playersettings/getgraphicsapis.md), [PlayerSettings.SetGraphicsAPIs](/engine/6000.3/script-reference/unityeditor/playersettings/setgraphicsapis.md).
