📄 threejs/Core/Nodes/BuiltinNode

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


title: BuiltinNode category: Core layout: docs

BuiltinNode

The node allows to set values for built-in shader variables. That is required for features like hardware-accelerated vertex clipping.

Constructor

new BuiltinNode( name : string )

Constructs a new builtin node.

name | The name of the built-in shader variable.
---|---

Properties

.isBuiltinNode : boolean (readonly)

This flag can be used for type testing.

Default is true.

.name : string

The name of the built-in shader variable.

Overrides: Node#name

Methods

.generate( builder : NodeBuilder ) : string

Generates the code snippet of the builtin node.

builder | The current node builder.
---|---

Overrides: Node#generate

Returns: The generated code snippet.

Source

src/nodes/accessors/BuiltinNode.js