DepthTestDescriptor.cs 479 B

1234567891011121314151617181920
  1. namespace Ryujinx.Graphics.GAL
  2. {
  3. public readonly struct DepthTestDescriptor
  4. {
  5. public bool TestEnable { get; }
  6. public bool WriteEnable { get; }
  7. public CompareOp Func { get; }
  8. public DepthTestDescriptor(
  9. bool testEnable,
  10. bool writeEnable,
  11. CompareOp func)
  12. {
  13. TestEnable = testEnable;
  14. WriteEnable = writeEnable;
  15. Func = func;
  16. }
  17. }
  18. }