Make submitting depth buffer in OpenXR optional
This commit is contained in:
parent
deb760fb1b
commit
484cd90d29
4 changed files with 48 additions and 3 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue