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

ovrFrameParms Struct Reference

Per-frame details.

Data Fields

ovrStructureType
Type ( )
ovrFrameLayer
Layers ( )
Layers composited in the time warp.
int
int
Flags ( )
Combination of ovrFrameFlags flags.
long long
Application controlled frame index that uniquely identifies this particular frame.
int
WarpSwap will not return until at least this many V-syncs have passed since the previous WarpSwap returned.
ovrExtraLatencyMode
Latency Mode.
ovrMatrix4f
void *
Unused parameter.
ovrPerformanceParms
CPU/GPU performance parameters.
ovrJava
Java ( )
For handling HMD events and power level state changes.

Public Member Functions

Detailed Description

Deprecated
The vrapi_SubmitFrame2 path with flexible layer types should be used instead.

Field Documentation

ovrStructureType ovrFrameParms::Type ( )
ovrFrameLayer ovrFrameParms::Layers[VRAPI_FRAME_LAYER_TYPE_MAX] ( )
Layers composited in the time warp.
int ovrFrameParms::LayerCount ( )
int ovrFrameParms::Flags ( )
Combination of ovrFrameFlags flags.
long long ovrFrameParms::FrameIndex ( )
Application controlled frame index that uniquely identifies this particular frame.
This must be the same frame index that was passed to vrapi_GetPredictedDisplayTime() when synthesis of this frame started.
int ovrFrameParms::SwapInterval ( )
WarpSwap will not return until at least this many V-syncs have passed since the previous WarpSwap returned.
Setting to 2 will reduce power consumption and may make animation more regular for applications that can't hold full frame rate.
ovrExtraLatencyMode ovrFrameParms::ExtraLatencyMode ( )
Latency Mode.
ovrMatrix4f ovrFrameParms::ExternalVelocity ( )
Deprecated
Rotation from a joypad can be added on generated frames to reduce judder in FPS style experiences when the application framerate is lower than the V-sync rate.
This will be applied to the view space distorted eye vectors before applying the rest of the time warp. This will only be added when the same ovrFrameParms is used for more than one V-sync.
void* ovrFrameParms::Reserved ( )
Unused parameter.
ovrPerformanceParms ovrFrameParms::PerformanceParms ( )
CPU/GPU performance parameters.
ovrJava ovrFrameParms::Java ( )
For handling HMD events and power level state changes.

Member Function Documentation

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