29 lines
		
	
	
		
			359 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			29 lines
		
	
	
		
			359 B
		
	
	
	
		
			C
		
	
	
	
	
	
|  | #pragma once
 | ||
|  | 
 | ||
|  | #include <Kore/Graphics1/Image.h>
 | ||
|  | 
 | ||
|  | namespace Kore { | ||
|  | 	namespace Graphics3 { | ||
|  | 		class Texture; | ||
|  | 	} | ||
|  | 
 | ||
|  | 	class TextureUnitImpl { | ||
|  | 	public: | ||
|  | 		int unit; | ||
|  | 	}; | ||
|  | 
 | ||
|  | 	class TextureImpl { | ||
|  | 	protected: | ||
|  | 		// static TreeMap<Image, Texture*> images;
 | ||
|  | 	public: | ||
|  | 		unsigned int texture; | ||
|  | #ifdef KINC_ANDROID
 | ||
|  | 		bool external_oes; | ||
|  | #endif
 | ||
|  | 
 | ||
|  | 		u8 pixfmt; | ||
|  | 
 | ||
|  | 		~TextureImpl(); | ||
|  | 	}; | ||
|  | } |