THREE.JS / FOUNDATIONS 122

Name every buffer.

One scene render writes beauty and normal attachments plus depth; the graph previews each output and validates the color buffers by async readback.

Initializing —

Preparing the attachment graph.

backend
—
path
—
view
—
draw calls
—
Graph matrixrebuilds backend only
Target ownershipwaiting
target
—
color count
—
depth
—
sample scale
—

PassNode owns the WebGPU target; the fallback owns an explicit RenderTarget.

Beautytexture 0

—

readbacks
0
pixel
—
Normaltexture 1

—

readbacks
0
pixel
—
Depthdepth texture

—

preview
linear
readback
color API only
Timing and readbackwaiting
CPU frames
—
CPU avg
—
CPU p95
—
readbacks
0
last read
—
bytes/pixel
—

Readbacks sample the center pixel of the selected color attachment.

Scene → MRT { beauty, normal } + depth → selected preview → screen

The split view is diagnostic: it keeps the beauty and normal payloads visibly separate while the same target is read back.

Compare layered readback next →

LAB 122 / ATTACHMENT GRAPH