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
17
xrt_result_t
18
twrap_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);
xrt_result_t
enum xrt_result xrt_result_t
Result type used across Monado.
xrt_device
A single HMD or input device.
Definition:
xrt_device.h:241
xrt_frame_context
Object used to track all sinks and frame producers in a graph.
Definition:
xrt_frame.h:108
xrt_slam_sinks
Container of pointers to sinks that could be used for a SLAM system.
Definition:
xrt_tracking.h:202
xrt_defines.h
Common defines and enums for XRT.
xrt_device_name
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
xrt_frameserver.h
Frameserver interface for video drivers.
xrt_tracking.h
Header defining the tracking system integration in Monado.
drivers
twrap
twrap_interface.h
Generated by
1.9.4