2019-12-29 17:41:50 +00:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
2019-10-13 06:02:07 +00:00
|
|
|
{
|
2022-12-05 13:47:39 +00:00
|
|
|
public readonly struct DepthTestDescriptor
|
2019-10-13 06:02:07 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|