using Ryujinx.Graphics.Shader;
namespace Ryujinx.Graphics.Gpu.Memory
{
///
/// Memory range used for buffers.
///
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.
///
/// Region address
/// Region size
/// Buffer usage flags
public BufferBounds(ulong address, ulong size, BufferUsageFlags flags = BufferUsageFlags.None)
{
Address = address;
Size = size;
Flags = flags;
}
}
}