Monado OpenXR Runtime
twrap_interface.h
Go to the documentation of this file.
1// Copyright 2022, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Tiny xrt_device exposing SLAM capabilities.
6 * @author Moses Turner <moses@collabora.com>
7 * @ingroup drv_twrap
8 */
9
10#pragma once
11
12#include "xrt/xrt_defines.h"
13#include "xrt/xrt_frameserver.h"
14#include "xrt/xrt_tracking.h"
15
16
18twrap_slam_create_device(struct xrt_frame_context *xfctx,
19 enum xrt_device_name name,
20 struct xrt_slam_sinks **out_sinks,
21 struct xrt_device **out_device);
enum xrt_result xrt_result_t
Result type used across Monado.
A single HMD or input device.
Definition: xrt_device.h:241
Object used to track all sinks and frame producers in a graph.
Definition: xrt_frame.h:108
Container of pointers to sinks that could be used for a SLAM system.
Definition: xrt_tracking.h:202
Common defines and enums for XRT.
xrt_device_name
A enum that is used to name devices so that the state trackers can reason about the devices easier.
Definition: xrt_defines.h:712
Frameserver interface for video drivers.
Header defining the tracking system integration in Monado.