Browse Source

added BufferFormat.pop

Nicolas Cannasse 2 years ago
parent
commit
2464bf8ff0
1 changed files with 6 additions and 0 deletions
  1. 6 0
      hxd/BufferFormat.hx

+ 6 - 0
hxd/BufferFormat.hx

@@ -73,6 +73,12 @@ class BufferFormat {
 		return make(inputs);
 	}
 
+	public function pop() {
+		var inputs = inputs.copy();
+		inputs.pop();
+		return make(inputs);
+	}
+
 	public inline function getInputs() {
 		return inputs.iterator();
 	}