initial implementation of WebGL-based brush renderer

This commit is contained in:
りき萌 2025-09-05 20:20:45 +02:00
parent b4c3260f49
commit bb55e23979
14 changed files with 385 additions and 247 deletions

View file

@ -32,9 +32,9 @@ export class Layer {
console.info("created layer", this.id, this.name);
}
destroy() {
destroy(chunkAllocator) {
for (let { chunk } of this.chunks.values()) {
chunk.destroy();
chunk.destroy(chunkAllocator);
}
}