stereokit-rust 0.4.0-alpha.22

High-Level Rust bindings around the StereoKitC library for XR
Documentation
// SPDX-License-Identifier: MIT
// The authors below grant copyright rights under the MIT license:
// Copyright (c) 2019-2023 Nick Klingensmith
// Copyright (c) 2023 Qualcomm Technologies, Inc.

#pragma once

#include "stereokit.h"

namespace sk {

struct device_data_t {
	display_type_    display_type;
	display_blend_   display_blend;
	float            display_refresh_rate;
	int32_t          display_width;
	int32_t          display_height;
	fov_info_t       display_fov;
	device_tracking_ tracking;
	char*            name;
	char*            runtime;
	char*            gpu;
	bool32_t         has_eye_gaze;
	bool32_t         has_hand_tracking;
};

extern device_data_t device_data;

void device_data_init(device_data_t *data);
void device_data_free(device_data_t *data);

}