aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/DepthTestDescriptor.cs
blob: d0edb603ffce5cdacb94feda3d37b882c0b9327a (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;
        }
    }
}