aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/DepthTestDescriptor.cs
blob: 4c593392b746e09fa6ecd22dd3c6ba9816bba336 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Graphics.GAL
{
    public readonly struct DepthTestDescriptor
    {
        public bool TestEnable  { get; }
        public bool WriteEnable { get; }

        public CompareOp Func { get; }

        public DepthTestDescriptor(
            bool      testEnable,
            bool      writeEnable,
            CompareOp func)
        {
            TestEnable  = testEnable;
            WriteEnable = writeEnable;
            Func        = func;
        }
    }
}