OpenXR: Adding support for the render model extension

This commit is contained in:
Bastiaan Olij 2024-08-12 20:25:43 +10:00
parent 46c495ca21
commit b65b367a6f
19 changed files with 1871 additions and 1 deletions

View file

@ -55,6 +55,7 @@ void OpenXRExtensionWrapper::_bind_methods() {
GDVIRTUAL_BIND(_on_instance_destroyed);
GDVIRTUAL_BIND(_on_session_created, "session");
GDVIRTUAL_BIND(_on_process);
GDVIRTUAL_BIND(_on_sync_actions);
GDVIRTUAL_BIND(_on_pre_render);
GDVIRTUAL_BIND(_on_main_swapchains_created);
GDVIRTUAL_BIND(_on_pre_draw_viewport, "viewport");
@ -252,6 +253,10 @@ void OpenXRExtensionWrapper::on_process() {
GDVIRTUAL_CALL(_on_process);
}
void OpenXRExtensionWrapper::on_sync_actions() {
GDVIRTUAL_CALL(_on_sync_actions);
}
void OpenXRExtensionWrapper::on_pre_render() {
GDVIRTUAL_CALL(_on_pre_render);
}