aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/MultisampleDescriptor.cs
blob: a6fb65aaf68296aa3435e256814a93fdf64378c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Ryujinx.Graphics.GAL
{
    public readonly struct MultisampleDescriptor
    {
        public bool AlphaToCoverageEnable { get; }
        public bool AlphaToCoverageDitherEnable { get; }
        public bool AlphaToOneEnable { get; }

        public MultisampleDescriptor(
            bool alphaToCoverageEnable,
            bool alphaToCoverageDitherEnable,
            bool alphaToOneEnable)
        {
            AlphaToCoverageEnable = alphaToCoverageEnable;
            AlphaToCoverageDitherEnable = alphaToCoverageDitherEnable;
            AlphaToOneEnable = alphaToOneEnable;
        }
    }
}