<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLRenderCommandEncoder/setTessellationFactorScale(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLRenderCommandEncoder(im)setTessellationFactorScale:"
  },
  "title" : "setTessellationFactorScale(_:)"
}
-->

# setTessellationFactorScale(_:)

Configures the scale factor for per-patch tessellation factors.

```
func setTessellationFactorScale(_ scale: Float)
```

## Parameters

`scale`

A positive, normal floating-point scale factor the render pass applies to the per-patch tessellation factors.

    The value of     `scale`     can’t be negative, infinite, equal to     `NaN`     (not a number), or a denormalized number.

## Discussion

The command converts `scale` to a half-precision floating-point value before it applies it to the per-patch tessellation factors (see [`setTessellationFactorBuffer(_:offset:instanceStride:)`](/documentation/Metal/MTLRenderCommandEncoder/setTessellationFactorBuffer(_:offset:instanceStride:))).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)