diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-09-01 18:10:53 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-10-05 11:37:49 +1100 |
commit | c7656978ba66e1a90029c7e58ed757ff0a3c872f (patch) | |
tree | a7cfe4cef1a486a27109f3f888de1fad6bf0370f /modules/openxr/openxr_interface.h | |
parent | 4eb9e3326ebb6e1a523dcb1a6b29294e784193ea (diff) | |
download | redot-engine-c7656978ba66e1a90029c7e58ed757ff0a3c872f.tar.gz |
Adding getters to RenderTarget and implementing override functionality for XR
Diffstat (limited to 'modules/openxr/openxr_interface.h')
-rw-r--r-- | modules/openxr/openxr_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/openxr/openxr_interface.h b/modules/openxr/openxr_interface.h index 3765f18637..72935b039c 100644 --- a/modules/openxr/openxr_interface.h +++ b/modules/openxr/openxr_interface.h @@ -126,6 +126,9 @@ public: virtual Transform3D get_transform_for_view(uint32_t p_view, const Transform3D &p_cam_transform) override; virtual Projection get_projection_for_view(uint32_t p_view, double p_aspect, double p_z_near, double p_z_far) override; + virtual RID get_color_texture() override; + virtual RID get_depth_texture() override; + virtual void process() override; virtual void pre_render() override; bool pre_draw_viewport(RID p_render_target) override; |