---
title: "supportsRasterizationRateMap(layerCount:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtldevice/supportsrasterizationratemap(layercount:)"
---

# supportsRasterizationRateMap(layerCount:)

Returns a Boolean value that indicates whether the GPU can create a rasterization rate map with a specific number of layers.

## Declaration

```swift
func supportsRasterizationRateMap(layerCount: Int) -> Bool
```

## Parameters

- `layerCount`: The number of layers for a rasterization rate map.

## See Also

### Creating rasterization rate maps

- [makeRasterizationRateMap(descriptor:)](metal/mtldevice/makerasterizationratemap(descriptor:).md)
