Skip to content

Textures: Return generation key in updateTexture(). - #34659

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev2
Sep 25, 2026
Merged

Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev2

Conversation

@Mugen87

@Mugen87 Mugen87 commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator

Related issue: #34657

Description

This is a follow up of #34657.

I've realized we can harmonize the code in Bindings.js if we let updateTextures() return the generation key, similar to how updateSampler() returns the current sampler key.

@Mugen87 Mugen87 added this to the r187 milestone Sep 25, 2026
@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
Core 389.92
102.29
389.92
102.29
+0 B
+0 B
WebGL 372.93
87.24
372.93
87.24
+0 B
+0 B
WebGPU 426.16
114.84
425.92
114.87
-242 B
+32 B
WebGPU Nodes 711.8
195.56
711.68
195.55
-115 B
-3 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 517.56
124.34
517.56
124.34
+0 B
+0 B
WebGPU 765.41
205.16
765.29
205.13
-115 B
-20 B
WebGPU Nodes 711.32
191.72
711.29
191.72
-21 B
-3 B

@github-actions

Copy link
Copy Markdown

🖼️ E2E screenshot tests

❌ 1 example(s) failed (full artifacts).

Example Expected Actual Diff
physics_jolt_instancing

@Mugen87

Mugen87 commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator Author

Regarding the CI: Only physics_jolt_instancing is failing and it's doing that for unrelated reasons like in the other PRs. The demo runs fine locally.

@Mugen87
Mugen87 merged commit 9964896 into mrdoob:dev Sep 25, 2026
9 of 10 checks passed
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.

1 participant