using Ryujinx.Graphics.Shader;
namespace Ryujinx.Graphics.Gpu.Memory
{
/// <summary>
/// Memory range used for buffers.
/// </summary>
readonly struct BufferBounds
/// Region virtual address.
public ulong Address { get; }
/// Region size in bytes.
public ulong Size { get; }
/// Buffer usage flags.
public BufferUsageFlags Flags { get; }
/// Creates a new buffer region.
/// <param name="address">Region address</param>
/// <param name="size">Region size</param>
/// <param name="flags">Buffer usage flags</param>
public BufferBounds(ulong address, ulong size, BufferUsageFlags flags = BufferUsageFlags.None)
Address = address;
Size = size;
Flags = flags;
}