mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	gl_shader_util: Cleanup header file + add docstring.
This commit is contained in:
		
							parent
							
								
									a74774257e
								
							
						
					
					
						commit
						2a0a86f629
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -14,6 +14,12 @@ enum Attributes { | ||||||
|     ATTRIBUTE_TEXCOORDS = 2, |     ATTRIBUTE_TEXCOORDS = 2, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| GLuint LoadProgram(const char* vertex_file_path, const char* fragment_file_path); | /**
 | ||||||
|  |  * Utility function to create and compile an OpenGL GLSL shader program (vertex + fragment shader) | ||||||
|  |  * @param vertex_shader String of the GLSL vertex shader program | ||||||
|  |  * @param fragment_shader String of the GLSL fragment shader program | ||||||
|  |  * @returns Handle of the newly created OpenGL shader object | ||||||
|  |  */ | ||||||
|  | GLuint LoadProgram(const char* vertex_shader, const char* fragment_shader); | ||||||
| 
 | 
 | ||||||
| } // namespace
 | } // namespace
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue