---
title: normalizedCoordinates
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlsamplerdescriptor/normalizedcoordinates
---

# normalizedCoordinates

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

## Declaration

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

## Discussion

Discussion If true, texture coordinates are from 0.0 to 1.0. If false, texture coordinates are from 0 to width for horizontal coordinates and 0 to height for vertical coordinates. The default value is 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 or MTLSamplerAddressMode.clampToZero address mode. The MTLSamplerMipFilter.notMipmapped mipmap filtering option. minFilter and magFilter need to be equal to each other. maxAnisotropy needs to be 1.
