Skip to content

WebGPURenderer: Use node events to update the binding groups#33047

Open
sunag wants to merge 6 commits intomrdoob:devfrom
sunag:dev-group-events
Open

WebGPURenderer: Use node events to update the binding groups#33047
sunag wants to merge 6 commits intomrdoob:devfrom
sunag:dev-group-events

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Feb 23, 2026

Related issue: #32936 (comment)

Description

Update the uniform buffers according to the update events of UniformGroupNode, making the update request process unified.

@sunag sunag added this to the r184 milestone Feb 23, 2026
@github-actions
Copy link

github-actions bot commented Feb 23, 2026

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.17
85.24
359.17
85.24
+0 B
+0 B
WebGPU 626.44
174.13
626.35
174.09
-91 B
-39 B
WebGPU Nodes 625.02
173.88
624.93
173.84
-91 B
-40 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.91
119.65
490.91
119.65
+0 B
+0 B
WebGPU 700.07
189.13
699.93
189.09
-131 B
-44 B
WebGPU Nodes 649.27
176.49
649.14
176.45
-131 B
-35 B

@sunag sunag marked this pull request as ready for review February 23, 2026 01:16
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