---
title: "normal(_:pixelFormat:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/textureresource/format/normal(_:pixelformat:)"
---

# normal(_:pixelFormat:)

Indicates that a texture is a normal map.

## Declaration

```swift
static func normal(_ encoding: TextureResource.Format.NormalEncoding, pixelFormat: MTLPixelFormat) -> TextureResource.Format
```

## Discussion

Discussion The created texture uses the TextureResource.Semantic.normal semantic.

## See Also

### Creating the format

- [color(_:pixelFormat:)](realitykit/textureresource/format/color(_:pixelformat:).md)
- [raw(pixelFormat:)](realitykit/textureresource/format/raw(pixelformat:).md)
