<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLTexture/minLOD",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLTexture(py)minLOD"
  },
  "title" : "minLOD"
}
-->

# minLOD

The lowest mipmap level of detail for the texture.

```
var minLOD: Float { get }
```

## Discussion

The property represents the lower limit of the level-of-detail (LOD) range that texture operations access for the texture.
When the GPU calculates a mipmap level, it applies the value of this property
as the final step, after clamping the sampler LOD and applying the texture view level range offsets.

Each of the following texture operations has a requirement for the `minLOD` value.

|Operation|Requirement                                           |
|---------|------------------------------------------------------|
|Read     |`floor(minLOD)` ≤ mip level                           |
|Gather   |`floor(minLOD)` ≤ `levelRange.location`               |
|Sample   |`minLOD` ≤ `levelRange.location` + `levelRange.length`|

Each operation returns an out-of-bounds value if a parameter doesn’t meet a requirement.

> Note: For the specific out-of-bounds value for each operation, see the *Texture Functions* section of the
> [Metal Shading Language Specification (PDF)](https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf).

---

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)