Skip to content

Struct ILLIXR::data_format::openxr_view_frame

ClassList > ILLIXR > data_format > openxr_view_frame

More...

  • #include <openxr_view_frame.hpp>

Inherits the following classes: ILLIXR::switchboard::event

Public Attributes

Type Name
openxr_eye_view left
openxr_eye_view right
time_point sample_time = {}
std::uint64_t sequence = {0}
bool should_render = {[**false**](namespaceILLIXR.md#function-normalize)}
std::int64_t xr_predicted_display_period = {0}
std::int64_t xr_sample_time = {0}

Public Functions inherited from ILLIXR::switchboard::event

See ILLIXR::switchboard::event

Type Name
void serialize (Archive & ar, const unsigned int version)
virtual ~event () = default

Detailed Description

OpenXR eye views for one predicted display time.

The sequence and xr_sample_time values match the quest_controller event sampled in the same OpenXR frame. This lets a renderer consume a coherent head/controller snapshot without owning another OpenXR session.

Public Attributes Documentation

variable left

openxr_eye_view ILLIXR::data_format::openxr_view_frame::left;

variable right

openxr_eye_view ILLIXR::data_format::openxr_view_frame::right;

variable sample_time

time_point ILLIXR::data_format::openxr_view_frame::sample_time;

Host and OpenXR timestamps for the same predicted display instant.


variable sequence

std::uint64_t ILLIXR::data_format::openxr_view_frame::sequence;

Monotonic ID shared with the controller event sampled in this frame.


variable should_render

bool ILLIXR::data_format::openxr_view_frame::should_render;

Mirrors XrFrameState::shouldRender for downstream frame production.


variable xr_predicted_display_period

std::int64_t ILLIXR::data_format::openxr_view_frame::xr_predicted_display_period;

variable xr_sample_time

std::int64_t ILLIXR::data_format::openxr_view_frame::xr_sample_time;


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/data_format/openxr_view_frame.hpp