# CreateGraphicsDevice()

> Creates the main API object. Call this method only once in your application.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.AMD](/engine/6000.5/script-reference/unityengine/amd.md)
* **Assembly:** UnityEngine.AMDModule

```csharp
public static GraphicsDevice CreateGraphicsDevice()
```

### Returns

| Type                                                                                | Description                                                                                                          |
| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [GraphicsDevice](/engine/6000.5/script-reference/unityengine/amd/graphicsdevice.md) | The Device API object to access AMD features. If you call this function again, the function returns the same device. |
