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

# raw(pixelFormat:)

Indicates a texture for unmodified use by a shader.

## Declaration

```swift
static func raw(pixelFormat: MTLPixelFormat) -> TextureResource.Format
```

## Discussion

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

## See Also

### Creating the format

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