/
fadaliastro
/
MGFI
Обзор
Документация
Войти
/
fadaliastro
/
MGFI
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
node_modules/three/src/nodes/core/NodeParser.js
23 строки
478 B
Fa-Dali
Initial commit
28 янв 2026, 00:16
28 янв 2026, 00:16
d5a5086
Код
Авторство
О чём код?
import { warn } from '../../utils.js'; /** * Base class for node parsers. A derived parser must be implemented * for each supported native shader language. */ class NodeParser { /** * The method parses the given native code an returns a node function. * * @abstract * @param {string} source - The native shader code. * @return {NodeFunction} A node function. */ parseFunction( /*source*/ ) { warn( 'Abstract function.' ); } } export default NodeParser;