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

Public Member Functions

 StereoView (const Viewport &viewport, const StereoRenderInfo &stereoRenderInfo)
 
virtual void setViewport (const Viewport &viewport) override
 
virtual float fovy () const override
 
virtual float zNear () const override
 
virtual float aspectRatio () const override
 
virtual void draw (const Scene &scene, const CameraHead &cameraHead) override
 
- Public Member Functions inherited from View
 View (const Viewport &viewport)
 

Protected Member Functions

void initialize ()
 
virtual void beforeContextDestroy () override
 
virtual void afterContextRebuild () override
 

Protected Attributes

std::unique_ptr< StereoViewEyem_leftEye
 
std::unique_ptr< StereoViewEyem_rightEye
 
std::unique_ptr< ScreenBlitterm_screenBlitter
 
std::unique_ptr
< StereoBlitProgram
m_stereoBlitProgram
 
glm::vec2 m_leftEyeLensCenter
 
glm::vec2 m_rightEyeLensCenter
 
std::vector< float > m_distortionKs
 
float m_distortionScale
 
- Protected Attributes inherited from View
Viewport m_viewport
 

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