The open source OpenXR runtime
1{
2 "$schema": "../proto.schema.json",
3
4 "space_create_semantic_ids": {
5 "out": [
6 {"name": "root_id", "type": "uint32_t"},
7 {"name": "view_id", "type": "uint32_t"},
8 {"name": "local_id", "type": "uint32_t"},
9 {"name": "local_floor_id", "type": "uint32_t"},
10 {"name": "stage_id", "type": "uint32_t"},
11 {"name": "unbounded_id", "type": "uint32_t"}
12 ]
13 },
14
15 "space_create_offset": {
16 "in": [
17 {"name": "parent_id", "type": "uint32_t"},
18 {"name": "offset", "type": "struct xrt_pose"}
19 ],
20 "out": [
21 {"name": "space_id", "type": "uint32_t"}
22 ]
23 },
24
25 "space_create_pose": {
26 "in": [
27 {"name": "xdev_id", "type": "uint32_t"},
28 {"name": "name", "type": "enum xrt_input_name"}
29 ],
30 "out": [
31 {"name": "space_id", "type": "uint32_t"}
32 ]
33 },
34
35 "space_locate_space": {
36 "in": [
37 {"name": "base_space_id", "type": "uint32_t"},
38 {"name": "base_offset", "type": "struct xrt_pose"},
39 {"name": "at_timestamp", "type": "int64_t"},
40 {"name": "space_id", "type": "uint32_t"},
41 {"name": "offset", "type": "struct xrt_pose"}
42 ],
43 "out": [
44 {"name": "relation", "type": "struct xrt_space_relation"}
45 ]
46 },
47
48 "space_locate_spaces": {
49 "varlen": true,
50 "in": [
51 {"name": "base_space_id", "type": "uint32_t"},
52 {"name": "base_offset", "type": "struct xrt_pose"},
53 {"name": "space_count", "type": "uint32_t"},
54 {"name": "at_timestamp", "type": "int64_t"}
55 ]
56 },
57
58 "space_locate_device": {
59 "in": [
60 {"name": "base_space_id", "type": "uint32_t"},
61 {"name": "base_offset", "type": "struct xrt_pose"},
62 {"name": "at_timestamp", "type": "int64_t"},
63 {"name": "xdev_id", "type": "uint32_t"}
64 ],
65 "out": [
66 {"name": "relation", "type": "struct xrt_space_relation"}
67 ]
68 },
69
70 "space_destroy": {
71 "in": [
72 {"name": "space_id", "type": "uint32_t"}
73 ]
74 },
75
76 "space_mark_ref_space_in_use": {
77 "in": [
78 {"name": "type", "type": "enum xrt_reference_space_type"}
79 ]
80 },
81
82 "space_unmark_ref_space_in_use": {
83 "in": [
84 {"name": "type", "type": "enum xrt_reference_space_type"}
85 ]
86 },
87
88 "space_recenter_local_spaces": {
89 },
90
91 "space_get_tracking_origin_offset": {
92 "in": [
93 {"name": "origin_id", "type": "uint32_t"}
94 ],
95 "out": [
96 {"name": "offset", "type": "struct xrt_pose"}
97 ]
98 },
99
100 "space_set_tracking_origin_offset": {
101 "in": [
102 {"name": "origin_id", "type": "uint32_t"},
103 {"name": "offset", "type": "struct xrt_pose"}
104 ]
105 },
106
107 "space_get_reference_space_offset": {
108 "in": [
109 {"name": "type", "type": "enum xrt_reference_space_type"}
110 ],
111 "out": [
112 {"name": "offset", "type": "struct xrt_pose"}
113 ]
114 },
115
116 "space_set_reference_space_offset": {
117 "in": [
118 {"name": "type", "type": "enum xrt_reference_space_type"},
119 {"name": "offset", "type": "struct xrt_pose"}
120 ]
121 }
122}