* Per-map parallax support * Comments for future sloth * c * bet * Fix exception * VV support * Fix parallax * mem * weightless sounds * Gravity stuff * placeholder coz im too lazy to stash don't @ me son * decent clouds * sky * Fast parallax * Imagine spelling * Loicense * perish * Fix weightless status Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
18 lines
464 B
C#
18 lines
464 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using Robust.Client.Graphics;
|
|
|
|
namespace Content.Client.Parallax.Data
|
|
{
|
|
[ImplicitDataDefinitionForInheritors]
|
|
public 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);
|
|
}
|
|
}
|
|
|