mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
28
Brutal.Memory/Partition/IPartitioner.cs
Normal file
28
Brutal.Memory/Partition/IPartitioner.cs
Normal 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; }
|
||||
}
|
||||
Loading…
Reference in a new issue