---
title: MTLTessellationFactorStepFunction
framework: metal
role: symbol
role_heading: Enumeration
path: metal/mtltessellationfactorstepfunction
---

# MTLTessellationFactorStepFunction

Options for specifying the step function that determines the tessellation factors for a patch from the tessellation factor buffer.

## Declaration

```swift
enum MTLTessellationFactorStepFunction
```

## Topics

### Factor step functions

- [MTLTessellationFactorStepFunction.constant](metal/mtltessellationfactorstepfunction/constant.md)
- [MTLTessellationFactorStepFunction.perPatch](metal/mtltessellationfactorstepfunction/perpatch.md)
- [MTLTessellationFactorStepFunction.perInstance](metal/mtltessellationfactorstepfunction/perinstance.md)
- [MTLTessellationFactorStepFunction.perPatchAndPerInstance](metal/mtltessellationfactorstepfunction/perpatchandperinstance.md)

### Initializers

- [init(rawValue:)](metal/mtltessellationfactorstepfunction/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Specifying tessellation state

- [maxTessellationFactor](metal/mtlrenderpipelinedescriptor/maxtessellationfactor.md)
- [isTessellationFactorScaleEnabled](metal/mtlrenderpipelinedescriptor/istessellationfactorscaleenabled.md)
- [tessellationFactorFormat](metal/mtlrenderpipelinedescriptor/tessellationfactorformat.md)
- [tessellationControlPointIndexType](metal/mtlrenderpipelinedescriptor/tessellationcontrolpointindextype.md)
- [tessellationFactorStepFunction](metal/mtlrenderpipelinedescriptor/tessellationfactorstepfunction.md)
- [tessellationOutputWindingOrder](metal/mtlrenderpipelinedescriptor/tessellationoutputwindingorder.md)
- [tessellationPartitionMode](metal/mtlrenderpipelinedescriptor/tessellationpartitionmode.md)
- [MTLTessellationFactorFormat](metal/mtltessellationfactorformat.md)
- [MTLTessellationControlPointIndexType](metal/mtltessellationcontrolpointindextype.md)
- [MTLTessellationPartitionMode](metal/mtltessellationpartitionmode.md)
