Ryujinx/src/Ryujinx.Graphics.GAL/DepthTestDescriptor.cs
2023-04-27 23:51:14 +02:00

20 lines
479 B
C#

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