---
title: lodBias
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlsamplerdescriptor/lodbias
---

# lodBias

Sets the level-of-detail (lod) bias when sampling from a texture.

## Declaration

```swift
var lodBias: Float { get set }
```

## Discussion

Discussion The property’s default value is 0.0f. The precision format is S4.6, and the range is [-16.0, 15.999].
