THREE.JS / FOUNDATIONS 316

Ready is a sequence, not a callback.

Trace a local asset from bytes to pixels. The study keeps FileLoader progress, manager barriers, image-backed placeholder textures, cache/deduplication, cancellation, and disposal visible.

Preparing loader studyWebGL2

The coordinator will create deterministic in-memory assets and a direct WebGL2 preview.

phase
IDLE
manager
0 / 0
file progress
—
fetches
0
texture
PLACEHOLDER
source
—
cube faces
0 / 6
sample
NOT RUN
FileLoader waiting

Fetch bytes, report chunks, reject HTTP failures, and share duplicate in-flight requests.

TextureLoader placeholder returned

ImageLoader owns the image; the returned texture becomes usable only after its source arrives.

LoadingManager barrier idle

Item completion is a separate barrier from an individual loader Promise.

EVENTS / WAITINGOWNERSHIP / —

The route uses virtual HTTPS URLs for FileLoader so cache keys remain visible, and blob URLs only for image-backed fixtures.

Sources: LoadingManager · FileLoader · TextureLoader · textures manual

LAB 316 / LOADER LIFECYCLE CONTRACT