|
|
@@ -153,6 +153,24 @@ class Bindings extends DataMap {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * Deletes the bindings for the given compute node.
|
|
|
+ *
|
|
|
+ * @param {Node} computeNode - The compute node.
|
|
|
+ */
|
|
|
+ deleteForCompute( computeNode ) {
|
|
|
+
|
|
|
+ const bindings = this.nodes.getForCompute( computeNode ).bindings;
|
|
|
+
|
|
|
+ for ( const bindGroup of bindings ) {
|
|
|
+
|
|
|
+ this.delete( bindGroup );
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* Updates the given array of bindings.
|
|
|
*
|