Skip to content

Conversation

@gkjohnson
Copy link
Collaborator

Related issue: --

Description

Adds "width" and "height" convenience getters for Storage texture to map Texture and RenderTarget.

@gkjohnson gkjohnson added this to the r179 milestone Jul 25, 2025
@gkjohnson gkjohnson requested a review from sunag July 25, 2025 22:38
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 338.37
78.9
338.37
78.9
+0 B
+0 B
WebGPU 561.4
155.29
561.48
155.31
+74 B
+20 B
WebGPU Nodes 560.01
155.05
560.09
155.07
+74 B
+18 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 469.75
113.6
469.75
113.6
+0 B
+0 B
WebGPU 636.14
172.14
636.14
172.14
+0 B
+0 B
WebGPU Nodes 590.79
161.38
590.79
161.38
+0 B
+0 B

@sunag
Copy link
Collaborator

sunag commented Jul 26, 2025

It wouldn't be redundant with #31025?

@gkjohnson
Copy link
Collaborator Author

You're right! I missed that it was already supported, I guess.

@gkjohnson gkjohnson closed this Jul 26, 2025
@gkjohnson gkjohnson deleted the storage-texture-getters branch July 26, 2025 03:11
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