diff options
author | tetrapod00 <145553014+tetrapod00@users.noreply.github.com> | 2024-09-19 13:44:08 -0700 |
---|---|---|
committer | tetrapod00 <145553014+tetrapod00@users.noreply.github.com> | 2024-10-08 11:02:45 -0700 |
commit | 12d2c05936500dd95d8bab748c5530045a39ebc8 (patch) | |
tree | ed3df179dd9b381422c473c41bcf0400ac3876bc /doc/classes | |
parent | 0a4aedb36065f66fc7e99cb2e6de3e55242f9dfb (diff) | |
download | redot-engine-12d2c05936500dd95d8bab748c5530045a39ebc8.tar.gz |
Add "Inspect Native Shader Code" to shader resource and shader editor
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Material.xml | 2 | ||||
-rw-r--r-- | doc/classes/Shader.xml | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/classes/Material.xml b/doc/classes/Material.xml index 760773d5d9..94d12018ca 100644 --- a/doc/classes/Material.xml +++ b/doc/classes/Material.xml @@ -45,7 +45,7 @@ <method name="inspect_native_shader_code"> <return type="void" /> <description> - Only available when running in the editor. Opens a popup that visualizes the generated shader code, including all variants and internal shader code. + Only available when running in the editor. Opens a popup that visualizes the generated shader code, including all variants and internal shader code. See also [method Shader.inspect_native_shader_code]. </description> </method> </methods> diff --git a/doc/classes/Shader.xml b/doc/classes/Shader.xml index 68176dea14..1e7f9e5ee5 100644 --- a/doc/classes/Shader.xml +++ b/doc/classes/Shader.xml @@ -35,6 +35,12 @@ If argument [param get_groups] is true, parameter grouping hints will be provided. </description> </method> + <method name="inspect_native_shader_code"> + <return type="void" /> + <description> + Only available when running in the editor. Opens a popup that visualizes the generated shader code, including all variants and internal shader code. See also [method Material.inspect_native_shader_code]. + </description> + </method> <method name="set_default_texture_parameter"> <return type="void" /> <param index="0" name="name" type="StringName" /> |