mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:32:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			450 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Jesse Buhagiar <jooster669@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <LibGPU/Enums.h>
 | |
| #include <LibGfx/Vector4.h>
 | |
| 
 | |
| namespace GPU {
 | |
| 
 | |
| struct LightModelParameters {
 | |
|     FloatVector4 scene_ambient_color { 0.2f, 0.2f, 0.2f, 1.0f };
 | |
|     bool viewer_at_infinity { false };
 | |
|     GPU::ColorControl color_control { GPU::ColorControl::SingleColor };
 | |
|     bool two_sided_lighting { false };
 | |
| };
 | |
| 
 | |
| }
 | 
