Skip to content

XrEndFrame 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 XrEndFrameOp operator completes the rendering of a single OpenXR frame by passing populated color and depth buffer for the left and right eye to the OpenXR device. Note that a single connection xr_frame from XrBeginFrameOp to XrEndFrameOp is required to synchronize the OpenXR calls issued by the two operators.

holoscan::openxr::XrEndFrameOp#

Parameters#
  • XrSession: A class that encapsulates a single OpenXR session
  • type: holoscan::openxr::XrSession
Inputs#

Render buffers populated by application - color_buffer: color buffer - type: holoscan::gxf::VideoBuffer - depth_buffer: depth buffer - type: holoscan::gxf::VideoBuffer

OpenXR synchronization - XrFrame: connection to synchronize XrBeginFrameOp and XrEndFrameOp - type: XrFrame

Note:

  • XrCudaInteropSwapchain: A class that encapsulates the Vulkan buffers of the OpenXR runtime and compatible CUDA buffer to provide interoperability between ClaraViz and OpenXR