diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-11 11:25:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 11:25:00 +0200 |
commit | aad4d8648b4593b5edb479e85984730770e77c70 (patch) | |
tree | 16df5c49789349b62aef9e0c32a426b44208d1d8 /scene/resources/visual_shader.h | |
parent | 7f075e519abeefbe0aa1dc54a9711b94a4a8eebe (diff) | |
parent | b217babca2374575a5b725c48e6dc044c1b78aab (diff) |
Merge pull request #32742 from Chaosus/fix_samplers
Added sampler port to CubeMap, fixed parsing in expresssions
Diffstat (limited to 'scene/resources/visual_shader.h')
-rw-r--r-- | scene/resources/visual_shader.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scene/resources/visual_shader.h b/scene/resources/visual_shader.h index 016213c399..4f73316404 100644 --- a/scene/resources/visual_shader.h +++ b/scene/resources/visual_shader.h @@ -353,16 +353,8 @@ public: class VisualShaderNodeUniform : public VisualShaderNode { GDCLASS(VisualShaderNodeUniform, VisualShaderNode); -public: - enum UniformType { - UTYPE_NONE, - UTYPE_CUBEMAP, - UTYPE_SAMPLER2D, - }; - private: String uniform_name; - UniformType uniform_type; protected: static void _bind_methods(); @@ -371,9 +363,6 @@ public: void set_uniform_name(const String &p_name); String get_uniform_name() const; - int get_uniform_type() const; - void set_uniform_type(int p_type); - VisualShaderNodeUniform(); }; |