---
title: "init(from:)"
framework: realitykit
role: symbol
role_heading: Initializer
path: "realitykit/textureresource/init(from:)"
---

# init(from:)

Asynchronously creates a texture resource from a low-level texture.

## Declaration

```swift
@MainActor @preconcurrency convenience init(from texture: LowLevelTexture) async throws
```

## Parameters

- `texture`: The texture data that defines the resource.
