Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
BlitProgram Class Referenceabstract
Inheritance diagram for BlitProgram:
[legend]
Collaboration diagram for BlitProgram:
[legend]

Public Member Functions

void setSource (glow::Texture *source)
 
void setDestination (glow::FrameBufferObject *targetFBO, const Viewport &m_targetViewpoer)
 
virtual void blit ()
 

Public Attributes

const GLint TEXTURE_LOCATION = 0
 

Protected Member Functions

virtual void initialize ()
 
virtual void initializeShaders ()=0
 
template<typename T >
void setUniform (const std::string &name, const T &value)
 
virtual void beforeContextDestroy () override
 
virtual void afterContextRebuild () override
 

Protected Attributes

glow::Texture * m_source
 
glow::FrameBufferObject * m_destinationFBO
 
std::unique_ptr< ScreenQuadm_quad
 
Viewport m_destinationViewport
 
bool m_initialized
 

The documentation for this class was generated from the following files: