StencilConfiguration.h 472 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <LibGPU/Config.h>
  8. #include <LibGPU/Enums.h>
  9. namespace GPU {
  10. struct StencilConfiguration {
  11. StencilTestFunction test_function;
  12. StencilType reference_value;
  13. StencilType test_mask;
  14. StencilOperation on_stencil_test_fail;
  15. StencilOperation on_depth_test_fail;
  16. StencilOperation on_pass;
  17. StencilType write_mask;
  18. };
  19. }