mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-26 04:22:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			472 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			472 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Jelle Raaijmakers <jelle@gmta.nl>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibGPU/Config.h>
 | |
| #include <LibGPU/Enums.h>
 | |
| 
 | |
| namespace GPU {
 | |
| 
 | |
| struct StencilConfiguration {
 | |
|     StencilTestFunction test_function;
 | |
|     StencilType reference_value;
 | |
|     StencilType test_mask;
 | |
| 
 | |
|     StencilOperation on_stencil_test_fail;
 | |
|     StencilOperation on_depth_test_fail;
 | |
|     StencilOperation on_pass;
 | |
|     StencilType write_mask;
 | |
| };
 | |
| 
 | |
| }
 | 
