---
title: threadgroupSizeMatchesTileSize
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltilerenderpipelinedescriptor/threadgroupsizematchestilesize
---

# threadgroupSizeMatchesTileSize

A Boolean value that indicates whether all threadgroups for this pipeline completely cover tiles.

## Declaration

```swift
var threadgroupSizeMatchesTileSize: Bool { get set }
```

## Discussion

Discussion Metal can optimize code generation when the threadgroup and tile sizes match.

## See Also

### Specifying rasterization and visibility state

- [rasterSampleCount](metal/mtltilerenderpipelinedescriptor/rastersamplecount.md)
