---
title: MPSPolygonBuffer
framework: metalperformanceshaders
role: symbol
role_heading: Class
path: metalperformanceshaders/mpspolygonbuffer
---

# MPSPolygonBuffer

## Declaration

```swift
class MPSPolygonBuffer
```

## Topics

### Initializers

- [init()](metalperformanceshaders/mpspolygonbuffer/init().md)
- [init(coder:)](metalperformanceshaders/mpspolygonbuffer/init(coder:).md)

### Instance Properties

- [indexBuffer](metalperformanceshaders/mpspolygonbuffer/indexbuffer.md)
- [indexBufferOffset](metalperformanceshaders/mpspolygonbuffer/indexbufferoffset.md)
- [maskBuffer](metalperformanceshaders/mpspolygonbuffer/maskbuffer.md)
- [maskBufferOffset](metalperformanceshaders/mpspolygonbuffer/maskbufferoffset.md)
- [polygonCount](metalperformanceshaders/mpspolygonbuffer/polygoncount.md)
- [vertexBuffer](metalperformanceshaders/mpspolygonbuffer/vertexbuffer.md)
- [vertexBufferOffset](metalperformanceshaders/mpspolygonbuffer/vertexbufferoffset.md)

### Instance Methods

- [copy(with:)](metalperformanceshaders/mpspolygonbuffer/copy(with:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)
