Monado OpenXR Runtime
comp_d3d11_client.h
Go to the documentation of this file.
1// Copyright 2021, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Interface for D3D11 client-side code.
6 * @author Rylie Pavlik <rylie.pavlik@collabora.com>
7 * @ingroup comp_client
8 */
9
10#pragma once
11
12#include "xrt/xrt_compositor.h"
13#include "xrt/xrt_gfx_d3d11.h"
14
15#include <d3d11_4.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21
22/*
23 *
24 * Structs
25 *
26 */
27
29
30/*!
31 * Create a new client_d3d11_compositor.
32 *
33 * Takes ownership of provided xcn.
34 *
35 * @public @memberof client_d3d11_compositor
36 * @see xrt_compositor_native
37 */
39client_d3d11_compositor_create(struct xrt_compositor_native *xcn, ID3D11Device *device);
40
41
42#ifdef __cplusplus
43}
44#endif
Wraps the real compositor providing a D3D11 based interface.
Definition: comp_d3d11_client.cpp:108
struct xrt_compositor_d3d11 * client_d3d11_compositor_create(struct xrt_compositor_native *xcn, ID3D11Device *device)
Create a new client_d3d11_compositor.
Definition: comp_d3d11_client.cpp:828
Base class for a D3D11 client compositor.
Definition: xrt_compositor.h:2080
Main compositor server interface.
Definition: xrt_compositor.h:2224
Header declaring XRT graphics interfaces.
Header defining a D3D11 graphics interface.