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

Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optional

Make submitting depth buffer in OpenXR optional
This commit is contained in:
Rémi Verschelde
2022-12-07 13:25:42 +01:00
4 changed files with 48 additions and 3 deletions

View File

@@ -1862,6 +1862,8 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
GLOBAL_DEF_BASIC("xr/openxr/reference_space", "1");
ProjectSettings::get_singleton()->set_custom_property_info("xr/openxr/reference_space", PropertyInfo(Variant::INT, "xr/openxr/reference_space", PROPERTY_HINT_ENUM, "Local,Stage"));
GLOBAL_DEF_BASIC("xr/openxr/submit_depth_buffer", false);
#ifdef TOOLS_ENABLED
// Disabled for now, using XR inside of the editor we'll be working on during the coming months.