1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Adding support for the OpenXR futures extension

This commit is contained in:
Bastiaan Olij
2025-01-23 17:50:07 +11:00
parent 28102e6682
commit d6312188d7
42 changed files with 987 additions and 366 deletions

View File

@@ -32,6 +32,7 @@
#include "core/error/error_macros.h"
#include "core/math/projection.h"
#include "core/object/class_db.h"
#include "core/templates/hash_map.h"
#include "core/templates/rid.h"
#include "core/variant/variant.h"
@@ -42,7 +43,12 @@ class OpenXRAPI;
class OpenXRActionMap;
// `OpenXRExtensionWrapper` allows us to implement OpenXR extensions.
class OpenXRExtensionWrapper {
class OpenXRExtensionWrapper : public Object {
GDCLASS(OpenXRExtensionWrapper, Object);
protected:
static void _bind_methods() {}
public:
// `get_requested_extensions` should return a list of OpenXR extensions related to this extension.
// If the bool * is a nullptr this extension is mandatory