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 /servers/xr/xr_interface.h | |
parent | 4eb9e3326ebb6e1a523dcb1a6b29294e784193ea (diff) |
Adding getters to RenderTarget and implementing override functionality for XR
Diffstat (limited to 'servers/xr/xr_interface.h')
-rw-r--r-- | servers/xr/xr_interface.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/servers/xr/xr_interface.h b/servers/xr/xr_interface.h index 17ff5f8add..86d328d41c 100644 --- a/servers/xr/xr_interface.h +++ b/servers/xr/xr_interface.h @@ -121,8 +121,9 @@ public: virtual Transform3D get_transform_for_view(uint32_t p_view, const Transform3D &p_cam_transform) = 0; /* get each views transform */ virtual Projection get_projection_for_view(uint32_t p_view, double p_aspect, double p_z_near, double p_z_far) = 0; /* get each view projection matrix */ virtual RID get_vrs_texture(); /* obtain VRS texture */ - - // note, external color/depth/vrs texture support will be added here soon. + virtual RID get_color_texture(); /* obtain color output texture (if applicable) */ + virtual RID get_depth_texture(); /* obtain depth output texture (if applicable, used for reprojection) */ + virtual RID get_velocity_texture(); /* obtain velocity output texture (if applicable, used for spacewarp) */ virtual void process() = 0; virtual void pre_render(){}; |