---
title: TextureResource.Format.NormalEncoding.xy
framework: realitykit
role: symbol
role_heading: Case
path: realitykit/textureresource/format/normalencoding/xy
---

# TextureResource.Format.NormalEncoding.xy

A normal map with the X and Y components of a surface normal in the tangent space of the surface that RealityKit encodes in the red and green channels of a texture.

## Declaration

```swift
case xy
```

## Discussion

Discussion Each component value is between 0.0 and 1.0.

## See Also

### Normal profiles

- [TextureResource.Format.NormalEncoding.wy](realitykit/textureresource/format/normalencoding/wy.md)
