21 lines
		
	
	
		
			289 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			21 lines
		
	
	
		
			289 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#pragma once
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace Kore {
							 | 
						||
| 
								 | 
							
									namespace Graphics4 {
							 | 
						||
| 
								 | 
							
										class Program;
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									class ProgramImpl;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									class ShaderImpl {
							 | 
						||
| 
								 | 
							
									public:
							 | 
						||
| 
								 | 
							
										ShaderImpl(void *source, int length);
							 | 
						||
| 
								 | 
							
										virtual ~ShaderImpl();
							 | 
						||
| 
								 | 
							
										uint id;
							 | 
						||
| 
								 | 
							
										char *source;
							 | 
						||
| 
								 | 
							
										int length;
							 | 
						||
| 
								 | 
							
										friend class Program;
							 | 
						||
| 
								 | 
							
										friend class ProgramImpl;
							 | 
						||
| 
								 | 
							
									};
							 | 
						||
| 
								 | 
							
								}
							 |