<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLSamplerDescriptor/normalizedCoordinates",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLSamplerDescriptor(py)normalizedCoordinates"
  },
  "title" : "normalizedCoordinates"
}
-->

# normalizedCoordinates

A Boolean value that indicates whether texture coordinates are normalized to the range `[0.0, 1.0]`.

```
var normalizedCoordinates: Bool { get set }
```

## Discussion

If <doc://com.apple.documentation/documentation/Swift/true>, texture coordinates are from `0.0` to `1.0`. If <doc://com.apple.documentation/documentation/Swift/false>, texture coordinates are from `0` to `width` for horizontal coordinates and `0` to `height` for vertical coordinates. The default value is <doc://com.apple.documentation/documentation/Swift/true>.

Non-normalized texture coordinates should only be used with 1D and 2D textures with the following conditions; otherwise, the results of sampling are undefined.

- The [`MTLSamplerAddressMode.clampToEdge`](/documentation/Metal/MTLSamplerAddressMode/clampToEdge) or [`MTLSamplerAddressMode.clampToZero`](/documentation/Metal/MTLSamplerAddressMode/clampToZero) address mode.
- The [`MTLSamplerMipFilter.notMipmapped`](/documentation/Metal/MTLSamplerMipFilter/notMipmapped) mipmap filtering option.
- [`minFilter`](/documentation/Metal/MTLSamplerDescriptor/minFilter) and [`magFilter`](/documentation/Metal/MTLSamplerDescriptor/magFilter) need to be equal to each other.
- [`maxAnisotropy`](/documentation/Metal/MTLSamplerDescriptor/maxAnisotropy) needs to be `1`.

---

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)