Struct XrFrameState
A structure indicates the frameState.
Inherited Members
Namespace: VIVE.OpenXR
Assembly: VIVE.OpenXR.dll
Syntax
public struct XrFrameState
Fields
next
next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR.
Declaration
public IntPtr next
Field Value
Type | Description |
---|---|
Int |
predictedDisplayPeriod
predictedDisplayPeriod is the XrDuration of the display period for the next application-generated frame, for use in predicting display times beyond the next one.
Declaration
public long predictedDisplayPeriod
Field Value
Type | Description |
---|---|
long |
predictedDisplayTime
predictedDisplayTime is the anticipated display XrTime for the next application-generated frame.
Declaration
public long predictedDisplayTime
Field Value
Type | Description |
---|---|
long |
shouldRender
shouldRender is XR_TRUE if the application should render its layers as normal and submit them to xrEndFrame. When this value is XR_FALSE, the application should avoid heavy GPU work where possible, for example by skipping layer rendering and then omitting those layers when calling xrEndFrame.
Declaration
public bool shouldRender
Field Value
Type | Description |
---|---|
bool |
type
The Xr
Declaration
public XrStructureType type
Field Value
Type | Description |
---|---|
Xr |