@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
8 lines (7 loc) • 528 B
TypeScript
import { ShaderNameByContextMap } from './ShaderName';
import { BaseNodeByContextMap, NodeContext } from '../../../poly/NodeContext';
export declare abstract class TypedAssembler<NC extends NodeContext> {
abstract shaderNames(): ShaderNameByContextMap[NC][];
abstract inputNamesForShaderName(node: BaseNodeByContextMap[NC], shaderName: ShaderNameByContextMap[NC]): string[];
abstract rootNodesByShaderName(shaderName: ShaderNameByContextMap[NC], rootNodes: BaseNodeByContextMap[NC][]): BaseNodeByContextMap[NC][];
}