This commit is contained in:
Akko
2025-08-04 18:57:35 +02:00
parent 8cf6e78a79
commit 9495868c2e
5030 changed files with 518594 additions and 17609 deletions

View File

@@ -0,0 +1,31 @@
import { ExtensionType } from '../../extensions/Extensions.mjs';
"use strict";
class CustomRenderPipe {
constructor(renderer) {
this._renderer = renderer;
}
addRenderable(container, instructionSet) {
this._renderer.renderPipes.batch.break(instructionSet);
instructionSet.add(container);
}
execute(container) {
if (!container.isRenderable)
return;
container.render(this._renderer);
}
destroy() {
this._renderer = null;
}
}
CustomRenderPipe.extension = {
type: [
ExtensionType.WebGLPipes,
ExtensionType.WebGPUPipes,
ExtensionType.CanvasPipes
],
name: "customRender"
};
export { CustomRenderPipe };
//# sourceMappingURL=CustomRenderPipe.mjs.map