---
title: "setDepthBias(_:slopeScale:clamp:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtlindirectrendercommand/setdepthbias(_:slopescale:clamp:)"
---

# setDepthBias(_:slopeScale:clamp:)

## Declaration

```swift
func setDepthBias(_ depthBias: Float, slopeScale: Float, clamp: Float)
```
