Blender V5.3
wm_xr.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11namespace blender {
12
13struct wmWindow;
14struct wmWindowManager;
15struct wmXrData;
16
17using wmXrSessionExitFn = void (*)(const wmXrData *xr_data);
18
19/* `wm_xr.cc` */
20
21bool wm_xr_init(bContext *C);
25
26/* `wm_xr_operators.cc` */
27
29
30/* `wm_xr_location_scouting.cc` */
31
32/* NOTE: Keep in sync with the Python VR Scene Inspection add-on VRCapture class.
33 * See comment in #wm_xr_location_scouting_get_active_capture. */
44
46std::optional<XrLocationScoutingCapture> wm_xr_location_scouting_get_active_capture(Scene *scene);
47
48} // namespace blender
#define C
Definition RandGen.cpp:29
BMesh Iterators.
void wm_xr_operatortypes_register()
void(*)(const wmXrData *xr_data) wmXrSessionExitFn
Definition wm_xr.hh:17
bool wm_xr_init(bContext *C)
Definition wm_xr.cc:61
VecBase< float, 4 > float4
bool wm_xr_location_scouting_is_captures_empty(Scene *scene)
void wm_xr_exit(wmWindowManager *wm)
Definition wm_xr.cc:154
void wm_xr_session_toggle(wmWindowManager *wm, wmXrSessionExitFn session_exit_fn)
bool wm_xr_events_handle(wmWindowManager *wm)
Definition wm_xr.cc:164
std::optional< XrLocationScoutingCapture > wm_xr_location_scouting_get_active_capture(Scene *scene)
VecBase< float, 3 > float3