| 123456789101112131415161718 |
- using System.Threading;
- using System.Threading.Tasks;
- using Robust.Client.Graphics;
- using Robust.Shared.Graphics;
- namespace Content.Client.Parallax.Data
- {
- [ImplicitDataDefinitionForInheritors]
- public partial interface IParallaxTextureSource
- {
- /// <summary>
- /// Generates or loads the texture.
- /// Note that this should be cached, but not necessarily *here*.
- /// </summary>
- Task<Texture> GenerateTexture(CancellationToken cancel = default);
- }
- }
|