rjx-mirror/Ryujinx.HLE/Gpu/NvGpuPBEntry.cs

23 lines
No EOL
564 B
C#

using System;
using System.Collections.ObjectModel;
namespace Ryujinx.HLE.Gpu
{
struct NvGpuPBEntry
{
public int Method { get; private set; }
public int SubChannel { get; private set; }
private int[] m_Arguments;
public ReadOnlyCollection<int> Arguments => Array.AsReadOnly(m_Arguments);
public NvGpuPBEntry(int Method, int SubChannel, params int[] Arguments)
{
this.Method = Method;
this.SubChannel = SubChannel;
this.m_Arguments = Arguments;
}
}
}