---
title: MTLTessellationFactorStepFunction.constant
framework: metal
role: symbol
role_heading: Case
path: metal/mtltessellationfactorstepfunction/constant
---

# MTLTessellationFactorStepFunction.constant

A constant step function. For all instances, the tessellation factor for all patches in a patch draw call is at the offset location in the tessellation factor buffer.

## Declaration

```swift
case constant
```

## See Also

### Factor step functions

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