---
title: "init(descriptor:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/lowleveltexture/init(descriptor:)"
---

# init(descriptor:)

Creates a low-level texture from a descriptor.

## Declaration

```swift
@MainActor init(descriptor: LowLevelTexture.Descriptor) throws
```

## Parameters

- `descriptor`: An object that defines the structure of the low-level texture.

## Discussion

Discussion note: If the descriptor is invalid or if memory was not allocated successfully.
