summaryrefslogtreecommitdiff
path: root/scene/resources/texture.h
diff options
context:
space:
mode:
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 ad0e21093d..1a4f211af1 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();