gearvr_mobile_options table reference - Stingray Lua API Reference

gearvr_mobile_options table reference

Description

This table defines a number of mobile settings for the GearVR plugin.

Pass a table with any of these fields to stingray.GearVR.set_mobile_options() in order to set new values, or call stingray.GearVR.mobile_options() to read the current values set for all options.

Data Members

Otherwise, display the level error message which requires the user to undock

Use chromatic aberration in the frame parameters (docs indicate there's a quality/performance trade-off)
Fixed CPU clock level in the range [0, 3]
Freeze the debug graph
Display continuously changing graph of TimeWarp timing data

If true, it will override the default debug graph

options.flip_y : boolean

Should the resulting eye images be flipped in y?
Flush frames after updating each GearVR Mobile Eye texture
Fixed GPU clock level in the range [0, 3]
should the main thread receive SCHED_FIFO scheduling?
Timewarp will not return until at least this many V-syncs have passed since the previous TimeWarp returned
Update the hmd orientation just before submitting the frame
should the render thread receive SCHED_FIFO scheduling?

options.z_far : number

z far parameter for the projection matrix used for TimeWarp
z near parameter for the projection matrix used for TimeWarp