Monado OpenXR Runtime
null_interfaces.h
Go to the documentation of this file.
1// Copyright 2019-2024, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Header for null compositor interfaces.
6 *
7 * @author Jakob Bornecrantz <jakob@collabora.com>
8 * @ingroup comp_null
9 */
10
11
12#pragma once
13
14#include "xrt/xrt_results.h"
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21
22struct xrt_device;
24
25/*!
26 * Creates a @ref null_compositor.
27 *
28 * @ingroup comp_null
29 */
31null_compositor_create_system(struct xrt_device *xdev, struct xrt_system_compositor **out_xsysc);
32
33
34#ifdef __cplusplus
35}
36#endif
xrt_result_t null_compositor_create_system(struct xrt_device *xdev, struct xrt_system_compositor **out_xsysc)
Creates a null_compositor.
Definition: null_compositor.c:531
enum xrt_result xrt_result_t
Result type used across Monado.
A single HMD or input device.
Definition: xrt_device.h:241
The system compositor handles composition for a system.
Definition: xrt_compositor.h:2414
Internal result type for XRT.