From cdb216f4e4096dd45973cb9fd3b9b00d50789e35 Mon Sep 17 00:00:00 2001 From: reduz Date: Tue, 5 Jan 2021 20:01:50 -0300 Subject: Added ability to visualize native shaders --- servers/rendering/renderer_rd/renderer_canvas_render_rd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/rendering/renderer_rd/renderer_canvas_render_rd.h') 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(); }; -- cgit v1.2.3