18 lines
472 B
C#
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);
|
|
}
|
|
}
|
|
|