Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSL: Deprecated storageObject() #29982

Merged
merged 4 commits into from
Nov 27, 2024
Merged

TSL: Deprecated storageObject() #29982

merged 4 commits into from
Nov 27, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Nov 27, 2024

Related issue: #29881 (comment)

Description

This PR is a follow-up to #29881. It seems that if we just have storage() it will be easier for the user to understand and use these buffers. Defining .setPBO() made it clearer why it is used.

@sunag sunag added this to the r171 milestone Nov 27, 2024
Copy link

github-actions bot commented Nov 27, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.14
78.99
339.14
78.99
+0 B
+0 B
WebGPU 483.88
134.22
484.02
134.26
+147 B
+38 B
WebGPU Nodes 483.34
134.12
483.49
134.16
+147 B
+40 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 464.62
111.98
464.62
111.98
+0 B
+0 B
WebGPU 552.83
149.53
552.83
149.53
+0 B
+0 B
WebGPU Nodes 508.71
139.25
508.71
139.25
+0 B
+0 B

@sunag sunag marked this pull request as ready for review November 27, 2024 16:05
@sunag sunag merged commit e5db8e9 into mrdoob:dev Nov 27, 2024
12 checks passed
@sunag sunag deleted the dev-pbo branch November 27, 2024 16:14
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