Newer
Older
HuangJiPC / public / static / three / examples / jsm / nodes / parsers / GLSLNodeParser.js
@zhangdeliang zhangdeliang on 21 Jun 254 bytes update
import NodeParser from '../core/NodeParser.js';
import GLSLNodeFunction from './GLSLNodeFunction.js';

class GLSLNodeParser extends NodeParser {

	parseFunction( source ) {

		return new GLSLNodeFunction( source );

	}

}

export default GLSLNodeParser;