summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.h
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-09-09 17:40:27 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-09-09 19:24:55 +0300
commit14a24fa19c5f51b028352683ed547cdcb07d67d7 (patch)
treed028485e25563329144e06501ffd0e6bccd4164c /scene/resources/visual_shader.h
parent36e2c39f0ce3ef050003e5e97f4ec7fa5fa03aab (diff)
Improve performance for Show/Hide port preview in visual shaders
Diffstat (limited to 'scene/resources/visual_shader.h')
-rw-r--r--scene/resources/visual_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.h b/scene/resources/visual_shader.h
index d45029ec03..2b9115879e 100644
--- a/scene/resources/visual_shader.h
+++ b/scene/resources/visual_shader.h
@@ -131,6 +131,7 @@ protected:
public: // internal methods
void set_graph_node(Type p_type, int p_id, GraphNode *p_graph_node);
void set_shader_type(Type p_type);
+ Type get_shader_type() const;
public:
void set_version(const String &p_version);