diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-21 16:39:13 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-21 16:39:13 -0500 |
commit | 7a438dc72e37c8b9619c3db77446c2e9580c907f (patch) | |
tree | 3f8b11dd621445996e2890724b224bf371991297 /doc/classes | |
parent | cb3c01a5fe1cbaad4349e45ecc2e691c126b90ac (diff) | |
parent | 12d2c05936500dd95d8bab748c5530045a39ebc8 (diff) | |
download | redot-engine-7a438dc72e37c8b9619c3db77446c2e9580c907f.tar.gz |
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector 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" /> |