# GetBlockHeight

> Returns the height in texels of a texel block.

## Definition

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

## GetBlockHeight(GraphicsFormat)

Returns the height in texels of a texel block.

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

### Parameters

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

### Returns

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

## GetBlockHeight(TextureFormat)

Returns the height in texels of a texel block.

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

### Parameters

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

### Returns

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