# GetBlockWidth

> Returns the width in texels of a texel block.

## Definition

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

## GetBlockWidth(GraphicsFormat)

Returns the width in texels of a texel block.

```csharp
public static uint GetBlockWidth(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) |             |

## GetBlockWidth(TextureFormat)

Returns the width in texels of a texel block.

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

### Parameters

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

### Returns

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