# GetAllocatedMemoryForGraphicsDriver()

> Returns the amount of allocated memory for the graphics driver, in bytes. Only available in development players and editor.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Profiling](/engine/6000.0/script-reference/unityengine/profiling.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static long GetAllocatedMemoryForGraphicsDriver()
```

### Returns

| Type                                                        | Description |
| ----------------------------------------------------------- | ----------- |
| [long](https://learn.microsoft.com/dotnet/api/system.int64) |             |
