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 /servers/arvr/arvr_interface.cpp | |
| parent | cc349336e7a099f786c8c281fdceefd7d0bd33ae (diff) | |
| download | redot-engine-8349d4fbd99052db5a2e66a4ff9b3d44e3ceabac.tar.gz | |
Add option to have viewport render into supplied texture
Diffstat (limited to 'servers/arvr/arvr_interface.cpp')
| -rw-r--r-- | servers/arvr/arvr_interface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/servers/arvr/arvr_interface.cpp b/servers/arvr/arvr_interface.cpp index 3e59daff6c..686ad0ba9b 100644 --- a/servers/arvr/arvr_interface.cpp +++ b/servers/arvr/arvr_interface.cpp @@ -123,6 +123,11 @@ ARVRInterface::ARVRInterface() { ARVRInterface::~ARVRInterface(){}; +// optional render to external texture which enhances performance on those platforms that require us to submit our end result into special textures. +unsigned int ARVRInterface::get_external_texture_for_eye(ARVRInterface::Eyes p_eye) { + return 0; +}; + /** these will only be implemented on AR interfaces, so we want dummies for VR **/ bool ARVRInterface::get_anchor_detection_is_enabled() const { return false; |
