|
@@ -95,6 +95,10 @@ private:
|
|
|
uint32_t num_swapchain_formats = 0;
|
|
|
int64_t *supported_swapchain_formats = nullptr;
|
|
|
|
|
|
+ // system info
|
|
|
+ String runtime_name;
|
|
|
+ String runtime_version;
|
|
|
+
|
|
|
// configuration
|
|
|
XrFormFactor form_factor = XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY;
|
|
|
XrViewConfigurationType view_configuration = XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO;
|
|
@@ -294,6 +298,8 @@ public:
|
|
|
XrInstance get_instance() const { return instance; };
|
|
|
XrSystemId get_system_id() const { return system_id; };
|
|
|
XrSession get_session() const { return session; };
|
|
|
+ String get_runtime_name() const { return runtime_name; };
|
|
|
+ String get_runtime_version() const { return runtime_version; };
|
|
|
|
|
|
// helper method to convert an XrPosef to a Transform3D
|
|
|
Transform3D transform_from_pose(const XrPosef &p_pose);
|