csharp
public readonly record struct XrFrameStateWhat one frame's timing is.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (3)
public long PredictedDisplayTimeWhen the frame will be shown, in the runtime's own clock. Opaque, and the thing to pass back when asking where the head will be — not a number to do arithmetic on.
public TimeSpan PredictedDisplayPeriodHow long a frame is expected to last.
public bool ShouldRenderWhether drawing anything is worth it. False while the session is synchronised but not visible: the frame still has to be submitted, with no layers.
Methods (1)
public XrFrameState(long PredictedDisplayTime, TimeSpan PredictedDisplayPeriod, bool ShouldRender)What one frame's timing is.
Used by (5)
- IXrSessionVixen.Xr
- NullXrBackendTestsVixen.Xr.Tests
- NullXrSessionVixen.Xr
- OpenXrSessionVixen.Xr.OpenXR
- XrTrackingSystemTestsVixen.Xr.Tests