Expand description
Ports of the header’s static inline qar_*_default() initializers.
These functions do not exist in the binary, so every language binding
must replicate them. Each port matches the header’s initializer field by
field, which the qaros-conformance tests check by compiling the C
originals. Members the C initializers zero-fill ({ 0 } or {}) are
zero here too.
Functions§
- qar_
app_ volume_ editing_ status_ default - qar_
app_ volume_ gesture_ allowed_ peers_ ext_ default - No peers: the caller sets
allowed_peersandallowed_peer_count. - qar_
app_ volume_ gesture_ configuration_ default - qar_
app_ volume_ gesture_ mapping_ rule_ default - qar_
app_ volume_ id_ default - qar_
app_ volume_ init_ default - The world anchor is zero-filled, as in the header.
- qar_
app_ volume_ size_ default - qar_
device_ hand_ with_ joints_ default - qar_
dxgi_ keyed_ mutex_ sync_ default - qar_
forget_ init_ default - qar_
fov_ default - The header’s comment says “all zeros”; the initializer sets ±0.785 rad. This port follows the initializer.
- qar_
graphics_ device_ disabled_ ext_ default - qar_
graphics_ device_ id_ default - The header leaves the id empty and picks the id type by platform: LUID on Windows, UUID elsewhere.
- qar_
gui_ panel_ id_ default - qar_
gui_ panel_ init_ default - qar_
gui_ panel_ served_ content_ ext_ default - No bundle and no entry: the caller sets both before chaining it.
- qar_
gui_ panel_ size_ default - qar_
gui_ panel_ stream_ id_ ext_ default - The zero stream id; the caller sets it.
- qar_
gui_ panel_ url_ ext_ default - qar_
hand_ joint_ location_ default - qar_
hand_ joint_ velocity_ default - qar_
hand_ joints_ default - qar_
image_ size_ default - qar_
join_ hub_ as_ member_ init_ default invitationis required; the zero timeouts select 60 s and 120 s.- qar_
library_ init_ default - qar_
member_ hub_ invitation_ app_ grant_ ext_ default app_tagis required; the caller sets it.- qar_
member_ hub_ invitation_ init_ default - Zero fields select the defaults: 24 h, one use, join, rejoin and bring devices.
- qar_
near_ far_ default - The header’s comment says “zeros”; the initializer sets 0.1 and 100. This port follows the initializer.
- qar_
onboard_ code_ ext_ default - qar_
onboard_ host_ ext_ default - qar_
onboard_ init_ default - qar_
onboard_ invite_ ext_ default - qar_
onboard_ local_ app_ ext_ default - qar_
onboard_ local_ app_ tag_ ext_ default app_tagis required; the caller sets it.- qar_
onboard_ peer_ id_ ext_ default peer_idis required (the zero id is refused); the caller sets it.- qar_
onboard_ remote_ app_ grant_ ext_ default invitationis required; the caller sets it.- qar_
onboarding_ id_ default - qar_
open_ qaros_ view_ info_ default - qar_
peer_ device_ identity_ default - Category
QAR_DEVICE_CATEGORY_DESKTOP_PC, NULL strings;device_idis required. - qar_
peer_ id_ default - qar_
peer_ presentation_ default - qar_
pose_ default - qar_
quaternion_ default - qar_
rejoin_ init_ default - qar_
render_ frame_ show_ default - The header stamps this structure with
QAR_STRUCTURE_TYPE_RENDERING_END_FRAME. - qar_
render_ frame_ view_ default - qar_
render_ sender_ alpha_ mode_ ext_ default - qar_
render_ sender_ color_ encoding_ ext_ default - qar_
render_ sender_ init_ default - Frame views are zero-filled, as in the header.
- qar_
render_ sender_ render_ loop_ ext_ default - qar_
request_ invite_ init_ default app_tagis required; the caller sets it.- qar_
runtime_ ephemeral_ storage_ ext_ default - qar_
runtime_ init_ default - qar_
session_ id_ default - qar_
session_ invite_ target_ app_ init_ default connection_stringis required; the caller sets it.- qar_
session_ lifecycle_ info_ default - qar_
stream_ id_ default - qar_
stream_ params_ d3d11_ default - qar_
stream_ params_ vulkan_ default - Null
VkPhysicalDeviceandVkDevice. - qar_
sync_ frame_ d3d11_ default - qar_
sync_ frame_ vulkan_ default VK_NULL_HANDLEsemaphore and fence.- qar_
texture_ size_ default - qar_
time_ point_ default - qar_
vector3_ default - qar_
video_ frame_ cpu_ default - Views and textures are zero-filled, as in the header.
- qar_
video_ frame_ d3d11_ default - qar_
video_ frame_ layout_ default - Views and textures are zero-filled, as in the header (not set to their own defaults).
- qar_
video_ frame_ view_ default - qar_
video_ frame_ vulkan_ default - qar_
video_ sender_ init_ default - Reconnects on, 300 s reconnect timeout, CPU frames.
- qar_
video_ texture_ cpu_ default - qar_
video_ texture_ d3d11_ default - structure_
header - Header stamp
{ type, NULL }.