Blender  V2.93
DNA_xr_types.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
21 #pragma once
22 
23 #include "DNA_view3d_types.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 typedef struct XrSessionSettings {
31  struct View3DShading shading;
32 
33  char _pad[7];
34 
35  char base_pose_type; /* eXRSessionBasePoseType */
40 
42  char draw_flags;
43  char _pad2[3];
44 
47 
48  int flag;
50 
51 typedef enum eXrSessionFlag {
54 
55 typedef enum eXRSessionBasePoseType {
60 
61 #ifdef __cplusplus
62 }
63 #endif
struct XrSessionSettings XrSessionSettings
eXrSessionFlag
Definition: DNA_xr_types.h:51
@ XR_SESSION_USE_POSITION_TRACKING
Definition: DNA_xr_types.h:52
eXRSessionBasePoseType
Definition: DNA_xr_types.h:55
@ XR_BASE_POSE_CUSTOM
Definition: DNA_xr_types.h:58
@ XR_BASE_POSE_SCENE_CAMERA
Definition: DNA_xr_types.h:56
@ XR_BASE_POSE_OBJECT
Definition: DNA_xr_types.h:57
float base_pose_location[3]
Definition: DNA_xr_types.h:38
Object * base_pose_object
Definition: DNA_xr_types.h:37
struct View3DShading shading
Definition: DNA_xr_types.h:31