THREE.JS / FOUNDATIONS 88

Budget the target.

Render-target choices multiply quickly. This lab estimates attachment bytes, allocates the selected target, and compares the estimate with Three.js’ tracked renderer memory and backend limits.

Initializing —

Preparing a bounded attachment budget study.

Estimate
—
Tracked Δ
—
Targets
—
Draw calls
—
Estimated attachment bytesresolved + MSAA model

The estimate is explicit: RGBA8 = 4 B/px, RGBA16F = 8 B/px, depth16 = 2 B/px, depth32 = 4 B/px.

Resolved color
—
MSAA color
—
Depth
—
Total
—
Active backend limitslive snapshot
Max 2D texture
—
Color attachments
—
Sample path
—
Pixel ratio
—
Attachment configuration
Budget lifecycle
estimate→allocate→render→dispose

The estimator is a planning model; `Info.memory` is the observed renderer counter.

Change the configuration, allocate the target, inspect the preview, then dispose it to verify lifecycle.

Previous: depth texture + MSAA →
LAB 88 / ATTACHMENT BUDGET