mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
28
brutal.memory/Brutal.Memory/Partition/IPartitioner.cs
Normal file
28
brutal.memory/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