Skip to content

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

Merged
sunag merged 8 commits intomrdoob:devfrom
sunag:dev-group-events
Mar 5, 2026
Merged

WebGPURenderer: Use node events to update the binding groups#33047
sunag merged 8 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.27
85.31
359.27
85.31
+0 B
+0 B
WebGPU 630.28
175
630.13
174.94
-145 B
-54 B
WebGPU Nodes 628.86
174.75
628.72
174.69
-145 B
-54 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 491.03
119.72
491.03
119.72
+0 B
+0 B
WebGPU 703.88
190.04
703.7
189.99
-185 B
-45 B
WebGPU Nodes 653.11
177.48
652.93
177.41
-185 B
-67 B

@sunag sunag marked this pull request as ready for review February 23, 2026 01:16
@sunag sunag merged commit 9dcea42 into mrdoob:dev Mar 5, 2026
10 checks passed
@sunag sunag deleted the dev-group-events branch March 5, 2026 03:21
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