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