14 lines
		
	
	
		
			288 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			288 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| namespace Kore {
 | |
| 	class RenderTargetImpl {
 | |
| 	public:
 | |
| 		unsigned _framebuffer;
 | |
| 		unsigned _texture;
 | |
| 		unsigned _depthTexture;
 | |
| 		// unsigned _depthRenderbuffer;
 | |
| 		int contextId;
 | |
| 		void setupDepthStencil(int depthBufferBits, int stencilBufferBits, int width, int height);
 | |
| 	};
 | |
| }
 |