Files
tbd-station-14/Content.Client/Parallax/Data/IParallaxTextureSource.cs

18 lines
472 B
C#

using System.Threading;
using System.Threading.Tasks;
using Robust.Client.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);
}
}