SOURCE DUMP v1

This commit is contained in:
Rian Drake 2026-10-15 14:09:11 +13:00
commit fb20299e9d

View file

@ -0,0 +1,28 @@
namespace Brutal.Memory;
/// <summary>
/// Interface for an object that has a size (Eg: a buffer)
/// </summary>
public interface ISize
{
/// <summary>
/// Size of the object's internals
/// </summary>
public int Size { get; }
}
/// <summary>
/// Interface for an object that has a 2D size (Eg: a texture)
/// </summary>
public interface ISize2D
{
/// <summary>
/// Width of the object
/// </summary>
public int Width { get; }
/// <summary>
/// Height of the object
/// </summary>
public int Height { get; }
}