Skip to content

XrFrame Operator#

Authors: Magic Leap Team (Magic Leap)
Supported platforms: x86_64, aarch64
Language: C++
Last modified: May 13, 2025
Latest version: 1.0
Minimum Holoscan SDK version: 2.0.0
Tested Holoscan SDK versions: 2.0.0
Contribution metric: Level 2 - Trusted

The XrFrameOp directory contains the XrBeginFrameOp and the XrEndFrameOp. XrBeginFrameOp operator initiates the rendering of a single OpenXR frame. It converts render buffers and events generated by the OpenXR runtime into Holoscan specific events to be consumed by downstream operators. Application specific operators are then expected to render left and right camera views into the given color and depth buffers. Once complete, the buffers must be passed to XrEndFrameOp in order to deliver the frame back to the OpenXR runtime. Note that a single connection xr_frame from XrBeginFrameOp to XrEndFrameOp is required to synchronize the OpenXR calls issued by the two operators.