blob: fec82de2412ac421dac4733b20af7181771e4d4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
namespace Ryujinx.Graphics.GAL
{
public readonly struct BufferRange
{
private static readonly BufferRange _empty = new(BufferHandle.Null, 0, 0);
public static BufferRange Empty => _empty;
public BufferHandle Handle { get; }
public int Offset { get; }
public int Size { get; }
public bool Write { get; }
public BufferRange(BufferHandle handle, int offset, int size, bool write = false)
{
Handle = handle;
Offset = offset;
Size = size;
Write = write;
}
}
}
|