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

TextureNode: Rename .uv() -> .sample() #30061

Merged
merged 1 commit into from
Dec 7, 2024
Merged

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 7, 2024

Related issue: #29974 (comment)

Description

Rename .uv() -> .sample().

@sunag sunag added this to the r172 milestone Dec 7, 2024
@sunag sunag changed the title TextureNode: Rename .uv -> .sample TextureNode: Rename .uv() -> .sample() Dec 7, 2024
Copy link

github-actions bot commented Dec 7, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.11
78.98
339.11
78.98
+0 B
+0 B
WebGPU 485.86
134.87
485.84
134.86
-22 B
-12 B
WebGPU Nodes 485.33
134.78
485.31
134.76
-22 B
-12 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465
112.04
465
112.04
+0 B
+0 B
WebGPU 555.23
150.32
555.23
150.33
-5 B
+7 B
WebGPU Nodes 511.12
140.04
511.08
140.04
-33 B
-5 B

@sunag sunag marked this pull request as ready for review December 7, 2024 21:59
@sunag sunag merged commit ed96b8d into mrdoob:dev Dec 7, 2024
12 checks passed
@sunag sunag deleted the dev-uv-to-sample branch December 7, 2024 23:10
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