You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Highlight GLES3 functions in the visual shader member panel
This commit is contained in:
@@ -103,8 +103,9 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
int return_type;
|
||||
int func;
|
||||
float value;
|
||||
bool highend;
|
||||
|
||||
AddOption(const String &p_name = String(), const String &p_category = String(), const String &p_sub_category = String(), const String &p_type = String(), const String &p_description = String(), int p_sub_func = -1, int p_return_type = -1, int p_mode = -1, int p_func = -1, float p_value = -1) {
|
||||
AddOption(const String &p_name = String(), const String &p_category = String(), const String &p_sub_category = String(), const String &p_type = String(), const String &p_description = String(), int p_sub_func = -1, int p_return_type = -1, int p_mode = -1, int p_func = -1, float p_value = -1, bool p_highend = false) {
|
||||
name = p_name;
|
||||
type = p_type;
|
||||
category = p_category;
|
||||
@@ -115,9 +116,10 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
mode = p_mode;
|
||||
func = p_func;
|
||||
value = p_value;
|
||||
highend = p_highend;
|
||||
}
|
||||
|
||||
AddOption(const String &p_name, const String &p_category, const String &p_sub_category, const String &p_type, const String &p_description, const String &p_sub_func, int p_return_type = -1, int p_mode = -1, int p_func = -1, float p_value = -1) {
|
||||
AddOption(const String &p_name, const String &p_category, const String &p_sub_category, const String &p_type, const String &p_description, const String &p_sub_func, int p_return_type = -1, int p_mode = -1, int p_func = -1, float p_value = -1, bool p_highend = false) {
|
||||
name = p_name;
|
||||
type = p_type;
|
||||
category = p_category;
|
||||
@@ -128,6 +130,7 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
mode = p_mode;
|
||||
func = p_func;
|
||||
value = p_value;
|
||||
highend = p_highend;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user