The open source OpenXR runtime
at prediction-2 21 lines 567 B view raw
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 Moshi Turner <moshiturner@protonmail.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 17xrt_result_t 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);