📄 threejs/Core/Nodes/RendererReferenceNode

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


title: RendererReferenceNode category: Core layout: docs

RendererReferenceNode

This node is a special type of reference node which is intended for linking renderer properties with node values.

When changing renderer.toneMappingExposure, the node value of exposureNode will automatically be updated.

Code Example

const exposureNode = rendererReference( 'toneMappingExposure', 'float', renderer );

Constructor

new RendererReferenceNode( property : string, inputType : string, renderer : Renderer )

Constructs a new renderer reference node.

property | The name of the property the node refers to.
---|---
inputType | The uniform type that should be used to represent the property value.
renderer | The renderer the property belongs to. When no renderer is set, the node refers to the renderer of the current state. Default is null.

Properties

.renderer : Renderer

The renderer the property belongs to. When no renderer is set, the node refers to the renderer of the current state.

Default is null.

Methods

.updateReference( state : NodeFrame | NodeBuilder ) : Object

Updates the reference based on the given state. The state is only evaluated RendererReferenceNode#renderer is not set.

state | The current state.
---|---

Overrides: ReferenceBaseNode#updateReference

Returns: The updated reference.

Source

src/nodes/accessors/RendererReferenceNode.js