Table of Contents

orxVIEWPORT structure

Viewport module. Allows the creation and handling of viewports. Viewports are structures associated to cameras and used for rendering.

Summary

[ViewportTemplate]
TextureList     = Texture1 # ... # TextureN
KeepInCache     = <bool>
Position        = (center) (left | right) (top | bottom) | <vector>
Size            = <vector>
UseRelativeSize = <bool>
BackgroundColor = <vector>
BackgroundAlpha = <float>
Camera          = CameraTemplate
FixedRatio      = <float>
ShaderList      = ShaderTemplate1 # ... # ShaderTemplateN
BlendMode       = alpha | multiply | add | premul | none
AutoResize      = <bool>
NoDebug         = <bool>

Details

Here's a list of the available properties for an orxVIEWPORT structure:

Latest config settings for the Development Version

We endeavor to keep the config properties on this page up to date as often as possible. For up to the minute config information for the latest version of Orx, check the most recent published at:

CreationTemplate.ini and

SettingsTemplate.ini

Additionally these files can be found under your orx source tree in the orx/code/bin folder.