---
title: physicalGranularity
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrasterizationratemap/physicalgranularity
---

# physicalGranularity

The granularity, in physical pixels, at which the rasterization rate varies.

## Declaration

```swift
var physicalGranularity: MTLSize { get }
```

## Discussion

Discussion If you’re using a rendering algorithm that uses binning or tiling to partition the rendered image, you may want to use the value of this property to determine your bin sizes. The depth component of the returned MTLSize structure is always 0.

## See Also

### Inspecting geometric and rendering properties

- [layerCount](metal/mtlrasterizationratemap/layercount.md)
- [screenSize](metal/mtlrasterizationratemap/screensize.md)
- [physicalSize(layer:)](metal/mtlrasterizationratemap/physicalsize(layer:).md)
