From 8349d4fbd99052db5a2e66a4ff9b3d44e3ceabac Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sun, 31 Mar 2019 00:03:49 +1100 Subject: Add option to have viewport render into supplied texture --- modules/gdnative/arvr/arvr_interface_gdnative.h | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/gdnative/arvr/arvr_interface_gdnative.h') diff --git a/modules/gdnative/arvr/arvr_interface_gdnative.h b/modules/gdnative/arvr/arvr_interface_gdnative.h index 015d0c8a2a..3f966ece51 100644 --- a/modules/gdnative/arvr/arvr_interface_gdnative.h +++ b/modules/gdnative/arvr/arvr_interface_gdnative.h @@ -78,6 +78,7 @@ public: // and a CameraMatrix version to ARVRServer virtual CameraMatrix get_projection_for_eye(ARVRInterface::Eyes p_eye, real_t p_aspect, real_t p_z_near, real_t p_z_far); + virtual unsigned int get_external_texture_for_eye(ARVRInterface::Eyes p_eye); virtual void commit_for_eye(ARVRInterface::Eyes p_eye, RID p_render_target, const Rect2 &p_screen_rect); virtual void process(); -- cgit v1.2.3