Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
screenblitter.h
1 #pragma once
2 
3 #include "geometry/viewport.h"
4 
5 
6 namespace glow {
7  class Program;
8  class FrameBufferObject;
9 }
10 
11 class FrameBuffer;
12 
13 class BlitProgram;
14 
16 public:
17  ScreenBlitter();
18 
19  void setProgram(BlitProgram& blitProgram);
20 
21  void blit(FrameBuffer& source, const Viewport& viewport);
22 
23 
24 protected:
25  BlitProgram* m_blitProgram;
26 };
27 
Definition: viewport.h:6
Definition: screenblitter.h:15
Definition: blitprogram.h:15
Definition: framebuffer.h:17