This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Libovr 1.26 Reference Guide

ovrLayerCube Struct Reference

Describes a layer of type ovrLayerType_Cube which is a single timewarped cubemap at infinity.

Data Fields

ovrLayerHeader
Header ( )
Header.Type must be ovrLayerType_Cube.
ovrQuatf
Orientation of the cube.
ovrTextureSwapChain
Contains a single cubemap swapchain (not a stereo pair of swapchains).

Detailed Description

When looking down the recentered origin's -Z axis, +X face is left and +Y face is up. Similarly, if headlocked the +X face is left, +Y face is up and -Z face is forward. Note that the coordinate system is left-handed.
ovrLayerFlag_TextureOriginAtBottomLeft flag is not supported by ovrLayerCube.
ovrTextureSwapChain, ovr_SubmitFrame

Field Documentation

ovrLayerHeader ovrLayerCube::Header ( )
Header.Type must be ovrLayerType_Cube.
ovrQuatf ovrLayerCube::Orientation ( )
Orientation of the cube.
ovrTextureSwapChain ovrLayerCube::CubeMapTexture ( )
Contains a single cubemap swapchain (not a stereo pair of swapchains).
The documentation for this struct was generated from the following file: Include/OVR_CAPI.h