---
title: rasterSampleCount
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4tilerenderpipelinedescriptor/rastersamplecount
---

# rasterSampleCount

Configures the number of samples per pixel used for multisampling.

## Declaration

```swift
var rasterSampleCount: Int { get set }
```
