LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::XRFrameState Struct Reference

Per-frame state returned by XRSession::BeginFrame. More...

#include <XRSession.h>

Public Attributes

std::int64_t predictedDisplayTimeNs = 0
 Runtime-predicted display time for this frame, in nanoseconds.
bool shouldRender = false
 True if the application should render this frame. If false, BeginFrame/EndFrame must still be paired but no rendering work is needed.

Detailed Description

Member Data Documentation

◆ predictedDisplayTimeNs

std::int64_t LLGL::XRFrameState::predictedDisplayTimeNs = 0

Runtime-predicted display time for this frame, in nanoseconds.

◆ shouldRender

bool LLGL::XRFrameState::shouldRender = false

True if the application should render this frame. If false, BeginFrame/EndFrame must still be paired but no rendering work is needed.


The documentation for this struct was generated from the following file: