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

# init(descriptor:)

Constructs a low-level mesh from a descriptor.

## Declaration

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

## Parameters

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

## Discussion

Discussion note: If the descriptor is invalid or if you do not successfully allocate its memory.
