# GetBlockSize

> Returns the memory size in bytes of a texel block.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Experimental.Rendering](/engine/6000.7/script-reference/unityengine/experimental/rendering.md)
* **Assembly:** UnityEngine.CoreModule

## GetBlockSize(GraphicsFormat)

Returns the memory size in bytes of a texel block.

```csharp
public static uint GetBlockSize(GraphicsFormat format)
```

### Parameters

**** (\[GraphicsFormat]\(/engine/6000.7/script-reference/unityengine/experimental/rendering/graphicsformat)):&#x20;

### Returns

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

## GetBlockSize(TextureFormat)

Returns the memory size in bytes of a texel block.

```csharp
public static uint GetBlockSize(TextureFormat format)
```

### Parameters

**** (\[TextureFormat]\(/engine/6000.7/script-reference/unityengine/textureformat)):&#x20;

### Returns

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