|
| | Viewport (const config::Viewport &viewport, const Window &parent) |
| | ~Viewport () override |
| void | initialize (vec2 size, bool hasStereo, unsigned int internalFormat, uint8_t samples) |
| void | loadData () |
| void | calculateFrustum (FrustumMode mode, float nearClip, float farClip) override |
| void | renderQuadMesh () const |
| void | renderWarpMesh () const |
| void | renderMaskMesh () const |
| bool | hasOverlayTexture () const |
| bool | hasBlendMaskTexture () const |
| bool | hasBlackLevelMaskTexture () const |
| bool | hasSubViewports () const |
| bool | isTracked () const |
| unsigned int | overlayTextureIndex () const |
| unsigned int | blendMaskTextureIndex () const |
| unsigned int | blackLevelMaskTextureIndex () const |
| NonLinearProjection * | nonLinearProjection () const |
| | BaseViewport (const Window &parent, FrustumMode eye=FrustumMode::Mono) |
| virtual | ~BaseViewport () |
| void | setupViewport (FrustumMode frustum) const |
| const Projection & | projection (FrustumMode frustumMode) const |
| ProjectionPlane & | projectionPlane () |
| void | calculateNonLinearFrustum (FrustumMode mode, float nearClip, float farClip) |
| | Make projection symmetric relative to user.
|
| void | setViewPlaneCoordsUsingFOVs (float up, float down, float left, float right, quat rot, float dist=10.f) |
| void | updateFovToMatchAspectRatio (float oldRatio, float newRatio) |
| void | setEnabled (bool state) |
| bool | isEnabled () const |
| void | setPosition (vec2 position) |
| const vec2 & | position () const |
| void | setSize (vec2 size) |
| const vec2 & | size () const |
| void | setUser (User &user) |
| User & | user () const |
| FrustumMode | eye () const |
| void | setHorizontalFieldOfView (float hFov) |
| float | horizontalFieldOfViewDegrees () const |
| const Window & | window () const |
This class holds and manages viewportdata and calculates frustums.