24 lines
		
	
	
		
			340 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			340 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#pragma once
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace Kore {
							 | 
						||
| 
								 | 
							
									class ComputeConstantLocationImpl {
							 | 
						||
| 
								 | 
							
									public:
							 | 
						||
| 
								 | 
							
										int location;
							 | 
						||
| 
								 | 
							
									};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									class ComputeTextureUnitImpl {
							 | 
						||
| 
								 | 
							
									public:
							 | 
						||
| 
								 | 
							
										int unit;
							 | 
						||
| 
								 | 
							
									};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									class ComputeShaderImpl {
							 | 
						||
| 
								 | 
							
									public:
							 | 
						||
| 
								 | 
							
										ComputeShaderImpl(void *source, int length);
							 | 
						||
| 
								 | 
							
										virtual ~ComputeShaderImpl();
							 | 
						||
| 
								 | 
							
										uint _id;
							 | 
						||
| 
								 | 
							
										uint _programid;
							 | 
						||
| 
								 | 
							
										char *_source;
							 | 
						||
| 
								 | 
							
										int _length;
							 | 
						||
| 
								 | 
							
									};
							 | 
						||
| 
								 | 
							
								}
							 |