1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-28 10:52:02 +00:00
Ryujinx/Ryujinx.Graphics.GAL/BufferRange.cs

21 lines
508 B
C#
Raw Normal View History

2019-10-13 07:02:07 +01:00
namespace Ryujinx.Graphics.GAL
{
public struct BufferRange
{
private static readonly BufferRange _empty = new BufferRange(BufferHandle.Null, 0, 0);
2019-10-13 07:02:07 +01:00
public BufferRange Empty => _empty;
public BufferHandle Handle { get; }
2019-10-13 07:02:07 +01:00
public int Offset { get; }
public int Size { get; }
public BufferRange(BufferHandle handle, int offset, int size)
2019-10-13 07:02:07 +01:00
{
Handle = handle;
2019-10-13 07:02:07 +01:00
Offset = offset;
Size = size;
}
}
}