export class NodeMaterialThreeCompat {
    type = "NodeMaterial";
    nodes = [];
    addNode(node) {
        this.nodes.push(node);
        return this;
    }
    compileGraph() {
        return {
            nodeCount: this.nodes.length,
            hasOutput: this.nodes.some((node) => node.kind === "output")
        };
    }
}
//# sourceMappingURL=NodeMaterial.js.map