15 lines
266 B
JavaScript
15 lines
266 B
JavaScript
|
import NodeParser from '../../../nodes/core/NodeParser.js';
|
||
|
import WGSLNodeFunction from './WGSLNodeFunction.js';
|
||
|
|
||
|
class WGSLNodeParser extends NodeParser {
|
||
|
|
||
|
parseFunction( source ) {
|
||
|
|
||
|
return new WGSLNodeFunction( source );
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
export default WGSLNodeParser;
|