---
title: isRasterizationEnabled
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinedescriptor/israsterizationenabled
---

# isRasterizationEnabled

A Boolean value that determines whether the pipeline rasterizes primitives.

## Declaration

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

## Discussion

Discussion The default value is true, indicating that primitives are rasterized. If the value is false, then primitives are dropped prior to rasterization (i.e. rasterization is disabled). Disabling rasterization may be useful to gather data from vertex-only transformations. When this value is false, no fragments are processed and the vertex shader function needs to return void.

## See Also

### Specifying rasterization and visibility state

- [isAlphaToCoverageEnabled](metal/mtlrenderpipelinedescriptor/isalphatocoverageenabled.md)
- [isAlphaToOneEnabled](metal/mtlrenderpipelinedescriptor/isalphatooneenabled.md)
- [inputPrimitiveTopology](metal/mtlrenderpipelinedescriptor/inputprimitivetopology.md)
- [rasterSampleCount](metal/mtlrenderpipelinedescriptor/rastersamplecount.md)
- [MTLPrimitiveTopologyClass](metal/mtlprimitivetopologyclass.md)
- [sampleCount](metal/mtlrenderpipelinedescriptor/samplecount.md)
