---
title: tileHeight
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrendercommandencoder/tileheight
---

# tileHeight

The height of the tiles, in pixels, for the render command encoder.

## Declaration

```swift
var tileHeight: Int { get }
```

## Discussion

Discussion The value comes from the tileHeight property of the MTLRenderPassDescriptor at the time you create the render command encoder.

## See Also

### Drawing with tile shaders

- [dispatchThreadsPerTile(_:)](metal/mtlrendercommandencoder/dispatchthreadspertile(_:).md)
- [tileWidth](metal/mtlrendercommandencoder/tilewidth.md)
