15 lines
		
	
	
		
			254 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			254 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import NodeParser from '../core/NodeParser.js';
 | |
| import GLSLNodeFunction from './GLSLNodeFunction.js';
 | |
| 
 | |
| class GLSLNodeParser extends NodeParser {
 | |
| 
 | |
| 	parseFunction( source ) {
 | |
| 
 | |
| 		return new GLSLNodeFunction( source );
 | |
| 
 | |
| 	}
 | |
| 
 | |
| }
 | |
| 
 | |
| export default GLSLNodeParser;
 |