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

Mobile 1.19 Reference Guide

ovrModeParms Struct Reference

Configuration details that stay constant between a vrapi_EnterVrMode()/vrapi_LeaveVrMode() pair.

Data Fields

ovrStructureType
Type ( )
unsigned int
Flags ( )
Combination of ovrModeFlags flags.
ovrJava
Java ( )
The Java VM is needed for the time warp thread to create a Java environment.
unsigned long long
Display ( )
Display to use for asynchronous time warp rendering.
unsigned long long
The window surface to use for asynchronous time warp rendering.
unsigned long long
The resources from this context will be shared with the asynchronous time warp.

Public Member Functions

Field Documentation

ovrStructureType ovrModeParms::Type ( )
unsigned int ovrModeParms::Flags ( )
Combination of ovrModeFlags flags.
ovrJava ovrModeParms::Java ( )
The Java VM is needed for the time warp thread to create a Java environment.
A Java environment is needed to access various system services. The thread that enters VR mode is responsible for attaching and detaching the Java environment. The Java Activity object is needed to get the windowManager, packageName, systemService, etc.
unsigned long long ovrModeParms::Display ( )
Display to use for asynchronous time warp rendering.
Using EGL this is an EGLDisplay.
unsigned long long ovrModeParms::WindowSurface ( )
The window surface to use for asynchronous time warp rendering.
Using EGL this can be the EGLSurface created by the application for the ANativeWindow. This should be the ANativeWIndow itself (requires VRAPI_MODE_FLAG_NATIVE_WINDOW).
unsigned long long ovrModeParms::ShareContext ( )
The resources from this context will be shared with the asynchronous time warp.
Using EGL this is an EGLContext.

Member Function Documentation

ovrModeParms::OVR_VRAPI_PADDING_32_BIT ( 4 )
The documentation for this struct was generated from the following file: Include/VrApi_Types.h