📄 threejs/Core/Nodes/GLSLNodeParser

File: GLSLNodeParser.md | Updated: 11/15/2025


title: GLSLNodeParser category: Core layout: docs

GLSLNodeParser

A GLSL node parser.

Constructor

new GLSLNodeParser()

Methods

.parseFunction( source : string ) : GLSLNodeFunction

The method parses the given GLSL code an returns a node function.

source | The GLSL code.
---|---

Overrides: NodeParser#parseFunction

Returns: A node function.

Source

src/nodes/parsers/GLSLNodeParser.js