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]
|
2023-08-22 18:14:33 -07:00
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|