---
title: "replace(withDrawables:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/textureresource/replace(withdrawables:)"
---

# replace(withDrawables:)

Dynamically replaces the texture with a drawable queue.

## Declaration

```swift
@MainActor @preconcurrency func replace(withDrawables drawableQueue: TextureResource.DrawableQueue)
```

## See Also

### Modifying the texture

- [replace(withImage:options:)](realitykit/textureresource/replace(withimage:options:).md)
- [replace(using:options:)](realitykit/textureresource/replace(using:options:).md)
- [replace(with:)](realitykit/textureresource/replace(with:).md)
