aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Graphics.GAL/DepthTestDescriptor.cs
blob: 4c593392b746e09fa6ecd22dd3c6ba9816bba336 (plain) (tree)
1
2
3
                              
 
                                              















                                        
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;
        }
    }
}