# Sandbox.Resources.TextureGenerator.CreateAsync

```csharp
System.Threading.Tasks.ValueTask<Texture> CreateAsync(Options options, System.Threading.CancellationToken token)
```

Create a texture. Will wait until the texture is fully loaded and return when done.

### Parameters

- `options` (`Options`)
- `token` (`System.Threading.CancellationToken`)

### Returns

`System.Threading.Tasks.ValueTask<Texture>`

Declared in [Sandbox.Resources.TextureGenerator](/api/Sandbox.Resources.TextureGenerator).
Assembly: `Sandbox.Engine`.
