Skip to content

ImageBitmapLoader: Improve docs.#33379

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev1
Apr 13, 2026
Merged

ImageBitmapLoader: Improve docs.#33379
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev1

Conversation

@Mugen87
Copy link
Copy Markdown
Collaborator

@Mugen87 Mugen87 commented Apr 13, 2026

Fixed #16196.

Description

ImageBitmapLoader only caches files via URL, it does not honor the options definitions. However, as previously stated in #16196 (comment) this is more of a theoretical issue since you normally don't unpack the same image data in different ways. Seven years with zero developer complaints is strong evidence that this is true.

To avoid potential confusion though the documentation is improved like suggested in #16196 (comment).

@github-actions
Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 361.21
85.78
361.21
85.78
+0 B
+0 B
WebGPU 637.48
177.06
637.48
177.06
+0 B
+0 B
WebGPU Nodes 635.59
176.76
635.59
176.76
+0 B
+0 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 493.58
120.42
493.58
120.42
+0 B
+0 B
WebGPU 709.22
191.88
709.22
191.88
+0 B
+0 B
WebGPU Nodes 658.44
179.17
658.44
179.17
+0 B
+0 B

@Mugen87 Mugen87 merged commit 32b4d93 into mrdoob:dev Apr 13, 2026
9 of 10 checks passed
@Mugen87 Mugen87 added this to the r184 milestone Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImageBitmapLoader Cache key should take account of ImageBitmapOptions

1 participant