Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 14, 2025

Related issue: #30730

Description

The PR adds documentation for the new XR layers API of XRManager.

@Mugen87 Mugen87 added this to the r177 milestone May 14, 2025

}

createQuadLayer( width, height, translation, quaternion, pixelwidth, pixelheight, rendercall, attributes = [] ) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at how attributes is used in the code, the parameter should be an object, not an array.

@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.26
78.64
+0 B
+0 B
WebGPU 549.52
152.34
549.52
152.34
+0 B
+1 B
WebGPU Nodes 548.87
152.18
548.87
152.18
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 467.34
112.95
467.34
112.95
+0 B
+0 B
WebGPU 624.43
169.06
624.43
169.06
+0 B
+0 B
WebGPU Nodes 579.28
158.35
579.28
158.35
+0 B
+0 B

@Mugen87 Mugen87 merged commit 0eed4b5 into mrdoob:dev May 14, 2025
12 checks passed
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
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