summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_wrap_mt.h
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-24 11:55:00 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2015-10-24 11:55:00 -0300
commit754908844ae52c04ed68ef27c02481479f1e2ab4 (patch)
tree90b95accfabc9bc12a6479c004183ff7d28b6fcd /servers/visual/visual_server_wrap_mt.h
parent6df7d923797908ecf38684c0008c0e4b6475d884 (diff)
parent4baf65dab78b6e8062de760010338c316c628394 (diff)
Merge branch 'master' of https://github.com/okamstudio/godot into posta
Diffstat (limited to 'servers/visual/visual_server_wrap_mt.h')
-rw-r--r--servers/visual/visual_server_wrap_mt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/servers/visual/visual_server_wrap_mt.h b/servers/visual/visual_server_wrap_mt.h
index af88c9bdc9..57d691ae68 100644
--- a/servers/visual/visual_server_wrap_mt.h
+++ b/servers/visual/visual_server_wrap_mt.h
@@ -98,6 +98,15 @@ public:
FUNC1RC(bool,texture_can_stream,RID);
FUNC3C(texture_set_reload_hook,RID,ObjectID,const StringName&);
+ FUNC2(texture_set_path,RID,const String&);
+ FUNC1RC(String,texture_get_path,RID);
+
+ virtual void texture_debug_usage(List<TextureInfo> *r_info) {
+ //pass directly, should lock the server anyway
+ visual_server->texture_debug_usage(r_info);
+ }
+
+
/* SHADER API */
FUNC1R(RID,shader_create,ShaderMode);