summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/renderer_canvas_render_rd.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-01-06 16:28:45 +0100
committerGitHub <noreply@github.com>2021-01-06 16:28:45 +0100
commita7baf013524ccd271bd123d8aef93a73b450a888 (patch)
treef6b0f142b5b9e44805b814acb69f0be656061a11 /servers/rendering/renderer_rd/renderer_canvas_render_rd.h
parenta3b76e26f34b668993382e6c32b7d3afaca0259f (diff)
parentcdb216f4e4096dd45973cb9fd3b9b00d50789e35 (diff)
Merge pull request #44950 from reduz/shader-debugger
Added ability to visualize native shaders
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_canvas_render_rd.h')
-rw-r--r--servers/rendering/renderer_rd/renderer_canvas_render_rd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/renderer_rd/renderer_canvas_render_rd.h b/servers/rendering/renderer_rd/renderer_canvas_render_rd.h
index 545eeaa106..cb947d7180 100644
--- a/servers/rendering/renderer_rd/renderer_canvas_render_rd.h
+++ b/servers/rendering/renderer_rd/renderer_canvas_render_rd.h
@@ -188,6 +188,8 @@ class RendererCanvasRenderRD : public RendererCanvasRender {
virtual bool is_animated() const;
virtual bool casts_shadows() const;
virtual Variant get_default_parameter(const StringName &p_parameter) const;
+ virtual RS::ShaderNativeSourceCode get_native_source_code() const;
+
ShaderData();
virtual ~ShaderData();
};