mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 00:40:13 +01:00
21 lines
476 B
C#
21 lines
476 B
C#
|
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;
|
||
|
}
|
||
|
}
|
||
|
}
|