diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-06 16:28:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 16:28:45 +0100 |
commit | a7baf013524ccd271bd123d8aef93a73b450a888 (patch) | |
tree | f6b0f142b5b9e44805b814acb69f0be656061a11 /servers/rendering/rendering_server_wrap_mt.h | |
parent | a3b76e26f34b668993382e6c32b7d3afaca0259f (diff) | |
parent | cdb216f4e4096dd45973cb9fd3b9b00d50789e35 (diff) |
Merge pull request #44950 from reduz/shader-debugger
Added ability to visualize native shaders
Diffstat (limited to 'servers/rendering/rendering_server_wrap_mt.h')
-rw-r--r-- | servers/rendering/rendering_server_wrap_mt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/rendering_server_wrap_mt.h b/servers/rendering/rendering_server_wrap_mt.h index 29ee846f31..3db90c32df 100644 --- a/servers/rendering/rendering_server_wrap_mt.h +++ b/servers/rendering/rendering_server_wrap_mt.h @@ -129,6 +129,8 @@ public: FUNC2RC(RID, shader_get_default_texture_param, RID, const StringName &) FUNC2RC(Variant, shader_get_param_default, RID, const StringName &) + FUNC1RC(ShaderNativeSourceCode, shader_get_native_source_code, RID) + /* COMMON MATERIAL API */ FUNCRID(material) |