UNPKG

@lightningjs/renderer

Version:
19 lines 501 B
export class IShaderNode { shaderType; props; propsList = []; node = null; stage = null; constructor(shaderType, props) { this.shaderType = shaderType; this.props = props; const keys = Object.keys(props); this.propsList = keys.filter((prop) => prop.charAt(0) !== '$'); } //called by node when node is initialized connectNode(node) { this.node = node; this.loadShader(); } } //# sourceMappingURL=IShaderNode.js.map