liballofw
Public Attributes | List of all members
allofw::WarpBlend::ViewportInfo Struct Reference

Viewport information. More...

#include <omnistereo.h>

Public Attributes

Rectangle2 viewport
 The viewport coordinates in screen pixels. More...
 
Size2i screen_resolution
 Target screen resolution (OmniStereo will determine the size of internal framebuffers based on this value). More...
 
bool enforce_aspect_ratio
 Should OmniStereo maintain the viewport aspect ratio. More...
 
float aspect_ratio
 Target aspect ratio of the viewport. More...
 

Detailed Description

Viewport information.

Member Data Documentation

float allofw::WarpBlend::ViewportInfo::aspect_ratio

Target aspect ratio of the viewport.

bool allofw::WarpBlend::ViewportInfo::enforce_aspect_ratio

Should OmniStereo maintain the viewport aspect ratio.

Size2i allofw::WarpBlend::ViewportInfo::screen_resolution

Target screen resolution (OmniStereo will determine the size of internal framebuffers based on this value).

Rectangle2 allofw::WarpBlend::ViewportInfo::viewport

The viewport coordinates in screen pixels.


The documentation for this struct was generated from the following file: