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

Public Member Functions

void setDistortionKs (std::vector< float > distortionKs)
 
void setDistortionScale (float distortionScale)
 
void setLensCenter (glm::vec2 lensCenter)
 
virtual void blit () override
 
- Public Member Functions inherited from BlitProgram
void setSource (glow::Texture *source)
 
void setDestination (glow::FrameBufferObject *targetFBO, const Viewport &m_targetViewpoer)
 

Protected Member Functions

virtual void initializeShaders () override
 
- Protected Member Functions inherited from BlitProgram
virtual void initialize ()
 
template<typename T >
void setUniform (const std::string &name, const T &value)
 
virtual void beforeContextDestroy () override
 
virtual void afterContextRebuild () override
 

Protected Attributes

std::vector< float > m_distortionKs
 
float m_distortionScale
 
glm::vec2 m_lensCenter
 
- Protected Attributes inherited from BlitProgram
glow::Texture * m_source
 
glow::FrameBufferObject * m_destinationFBO
 
std::unique_ptr< ScreenQuadm_quad
 
Viewport m_destinationViewport
 
bool m_initialized
 

Additional Inherited Members

- Public Attributes inherited from BlitProgram
const GLint TEXTURE_LOCATION = 0
 

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