Files
RobustToolbox/Robust.Shared/Graphics/TextureWrapMode.cs
2023-09-11 19:17:28 +10:00

27 lines
616 B
C#

using JetBrains.Annotations;
namespace Robust.Shared.Graphics
{
/// <summary>
/// Controls behavior when reading texture coordinates outside 0-1, which usually wraps the texture somehow.
/// </summary>
[PublicAPI]
public enum TextureWrapMode : byte
{
/// <summary>
/// Do not wrap, instead clamp to edge.
/// </summary>
None = 0,
/// <summary>
/// Repeat the texture.
/// </summary>
Repeat,
/// <summary>
/// Repeat the texture mirrored.
/// </summary>
MirroredRepeat,
}
}