aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/texture.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-10-21 09:50:44 -0300
committerJuan Linietsky2015-10-21 09:50:44 -0300
commitb59c86f6f953ce6957bccbcc1ec6f3ce4c55572d (patch)
tree39a74205feb03436beacf8c4dcf9d4fd70f2e344 /scene/resources/texture.h
parentf6a790d58c596773466437140f6d7e2a6a29e5e7 (diff)
downloadgodot-b59c86f6f953ce6957bccbcc1ec6f3ce4c55572d.tar.gz
godot-b59c86f6f953ce6957bccbcc1ec6f3ce4c55572d.tar.zst
godot-b59c86f6f953ce6957bccbcc1ec6f3ce4c55572d.zip
Diffstat (limited to 'scene/resources/texture.h')
-rw-r--r--scene/resources/texture.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/resources/texture.h b/scene/resources/texture.h
index ad0e21093..1a4f211af 100644
--- a/scene/resources/texture.h
+++ b/scene/resources/texture.h
@@ -152,7 +152,8 @@ public:
void set_size_override(const Size2& p_size);
-
+ virtual void set_path(const String& p_path,bool p_take_over=false);
+
ImageTexture();
~ImageTexture();
@@ -320,6 +321,8 @@ public:
void set_lossy_storage_quality(float p_lossy_storage_quality);
float get_lossy_storage_quality() const;
+ virtual void set_path(const String& p_path,bool p_take_over=false);
+
CubeMap();
~CubeMap();