aboutsummaryrefslogtreecommitdiff
path: root/scene/main/viewport.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-10 18:02:19 -0300
committerJuan Linietsky2017-01-10 18:04:33 -0300
commitf3f4a11cfb9767e1d691aec431dd2f1a87a31977 (patch)
tree7918ff8c7b366df911374c93d5077d27d788f9c3 /scene/main/viewport.h
parent6eeb994a7bbd3cb1500c42af8f3ac1227f323ce4 (diff)
downloadgodot-f3f4a11c.tar.gz
godot-f3f4a11c.tar.zst
godot-f3f4a11c.zip
- _ready() callback only happens once now, if you want to receive it again, use request_ready()
- C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
Diffstat (limited to 'scene/main/viewport.h')
-rw-r--r--scene/main/viewport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/viewport.h b/scene/main/viewport.h
index 5feeae623..666656506 100644
--- a/scene/main/viewport.h
+++ b/scene/main/viewport.h
@@ -207,6 +207,7 @@ friend class ViewportTexture;
MSAA msaa;
bool hdr;
+ Ref<ViewportTexture> default_texture;
Set<ViewportTexture*> viewport_textures;