You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
This commit is contained in:
@@ -358,8 +358,8 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
int from_node = -1;
|
||||
int from_slot = -1;
|
||||
|
||||
RBSet<int> selected_constants;
|
||||
RBSet<int> selected_uniforms;
|
||||
HashSet<int> selected_constants;
|
||||
HashSet<int> selected_uniforms;
|
||||
int selected_comment = -1;
|
||||
int selected_float_constant = -1;
|
||||
|
||||
@@ -468,7 +468,7 @@ class VisualShaderEditor : public VBoxContainer {
|
||||
bool _is_available(int p_mode);
|
||||
void _update_created_node(GraphNode *node);
|
||||
void _update_uniforms(bool p_update_refs);
|
||||
void _update_uniform_refs(RBSet<String> &p_names);
|
||||
void _update_uniform_refs(HashSet<String> &p_names);
|
||||
void _update_varyings();
|
||||
|
||||
void _visibility_changed();
|
||||
|
||||
Reference in New Issue
Block a user