aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Device/RegisterAttribute.cs
blob: 6e19896342dba0cdc26809f2b6176b4e3eaa8864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;

namespace Ryujinx.Graphics.Device
{
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
    public sealed class RegisterAttribute : Attribute
    {
        public AccessControl AccessControl { get; }

        public RegisterAttribute(AccessControl ac)
        {
            AccessControl = ac;
        }
    }
}