diff options
author | Bastiaan Olij <mux213@gmail.com> | 2019-03-31 00:03:49 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2019-04-06 08:24:58 +1100 |
commit | 8349d4fbd99052db5a2e66a4ff9b3d44e3ceabac (patch) | |
tree | ab73969dbcfaf88456042aeaecf6c38a44311ab4 /modules/gdnative/arvr/arvr_interface_gdnative.h | |
parent | cc349336e7a099f786c8c281fdceefd7d0bd33ae (diff) |
Add option to have viewport render into supplied texture
Diffstat (limited to 'modules/gdnative/arvr/arvr_interface_gdnative.h')
-rw-r--r-- | modules/gdnative/arvr/arvr_interface_gdnative.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |