---
title: MTLScissorRect
framework: metal
role: symbol
role_heading: Structure
path: metal/mtlscissorrect
---

# MTLScissorRect

A rectangle for the scissor fragment test.

## Declaration

```swift
struct MTLScissorRect
```

## Topics

### Creating a scissor rectangle

- [init()](metal/mtlscissorrect/init().md)
- [init(x:y:width:height:)](metal/mtlscissorrect/init(x:y:width:height:).md)

### Specifying scissor boundaries

- [height](metal/mtlscissorrect/height.md)
- [width](metal/mtlscissorrect/width.md)
- [x](metal/mtlscissorrect/x.md)
- [y](metal/mtlscissorrect/y.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Dynamic render pipeline states

- [MTLViewport](metal/mtlviewport.md)
- [MTLVertexAmplificationViewMapping](metal/mtlvertexamplificationviewmapping.md)
- [MTLQuadTessellationFactorsHalf](metal/mtlquadtessellationfactorshalf.md)
- [MTLTriangleTessellationFactorsHalf](metal/mtltriangletessellationfactorshalf.md)
