Skip to content

RenderTarget: minor formatting#32988

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
epreston:minor-formating-rendertarget
Feb 10, 2026
Merged

RenderTarget: minor formatting#32988
Mugen87 merged 1 commit intomrdoob:devfrom
epreston:minor-formating-rendertarget

Conversation

@epreston
Copy link
Contributor

improve locality of code

Related issue:

Description

move declarations where they are used to populate textures and away from unrelated viewport declaration

improve locality of code
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.14
85.24
359.14
85.24
+0 B
+0 B
WebGPU 621.16
173.09
621.16
173.09
+0 B
+0 B
WebGPU Nodes 619.74
172.84
619.74
172.84
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.85
119.65
490.85
119.64
-6 B
-3 B
WebGPU 694.86
188.15
694.85
188.15
-6 B
-3 B
WebGPU Nodes 644.06
175.54
644.06
175.54
-6 B
-4 B

@Mugen87 Mugen87 merged commit 461515f into mrdoob:dev Feb 10, 2026
10 checks passed
@Mugen87 Mugen87 added this to the r183 milestone Feb 10, 2026
@epreston epreston deleted the minor-formating-rendertarget branch February 10, 2026 17:49
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.

2 participants