Interface IParallaxTextureSource
Namespace: Content.Client.Parallax.Data
Assembly: Content.Client.dll
Syntax
public interface IParallaxTextureSource
Methods
| Improve this Doc View SourceGenerateTexture(CancellationToken)
Generates or loads the texture. Note that this should be cached, but not necessarily here.
Declaration
Task<Texture> GenerateTexture(CancellationToken cancel = null)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancel |
Returns
Type | Description |
---|---|
Task<Robust.Client.Graphics.Texture> |