📄 threejs/Core/Nodes/BarrierNode

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


title: BarrierNode category: Core layout: docs

BarrierNode

Represents a GPU control barrier that synchronizes compute operations within a given scope.

This node can only be used with a WebGPU backend.

Constructor

new BarrierNode( scope : string )

Constructs a new barrier node.

scope | The scope defines the behavior of the node.
---|---

Source

src/nodes/gpgpu/BarrierNode.js