Files
crystall-punk-14/Content.Client/Parallax/Data/IParallaxTextureSource.cs

19 lines
502 B
C#
Raw Permalink Normal View History

2022-05-04 17:55:21 +01:00
using System.Threading;
using System.Threading.Tasks;
using Robust.Client.Graphics;
2023-09-11 19:18:06 +10:00
using Robust.Shared.Graphics;
2022-05-04 17:55:21 +01:00
namespace Content.Client.Parallax.Data
{
[ImplicitDataDefinitionForInheritors]
public partial interface IParallaxTextureSource
2022-05-04 17:55:21 +01:00
{
/// <summary>
/// Generates or loads the texture.
/// Note that this should be cached, but not necessarily *here*.
/// </summary>
Task<Texture> GenerateTexture(CancellationToken cancel = default);
}
}