Tweak high-end mark in the visual shader editor's node creation dialog

- Use Forward+/Mobile terminology as support actually depends on the
  rendering method used, not the rendering driver.
- Use a standard warning color as this is no longer indicated as
  Vulkan-specific.
- Fix color on light theme (the text was being modulated instead
  of having its color overridden).
This commit is contained in:
Hugo Locurcio
2025-02-27 01:41:07 +01:00
parent 68410acc61
commit 8a22dba956
4 changed files with 5 additions and 17 deletions

View File

@ -184,8 +184,8 @@
<method name="_is_highend" qualifiers="virtual const">
<return type="bool" />
<description>
Override this method to enable high-end mark in the Visual Shader Editor's members dialog.
Defining this method is [b]optional[/b]. If not overridden, it's [code]false[/code].
Override this method to enable the high-end mark in the Visual Shader Editor's members dialog. This should return [code]true[/code] for nodes that only work when using the Forward+ and Mobile renderers.
Defining this method is [b]optional[/b]. If not overridden, it's [code]false[/code], which indicates this node works with all renderers (including Compatibility).
</description>
</method>
<method name="get_option_index" qualifiers="const">