JinxRyu/Ryujinx.Graphics.GAL/BufferRange.cs

21 lines
476 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
namespace Ryujinx.Graphics.GAL
{
public struct BufferRange
{
private static BufferRange _empty = new BufferRange(null, 0, 0);
public BufferRange Empty => _empty;
public IBuffer Buffer { get; }
public int Offset { get; }
public int Size { get; }
public BufferRange(IBuffer buffer, int offset, int size)
{
Buffer = buffer;
Offset = offset;
Size = size;
}
}
}