Skip to content

Commit ba331ce

Browse files
authored
Merge pull request #53 from immersive-web/main
Merge with main repo
2 parents 336963c + f2ad12b commit ba331ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎webxrlayers-1.bs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ Projection layers should be refreshed close to the device's native frame rate.
442442
[Exposed=Window] interface XRProjectionLayer : XRCompositionLayer {
443443
readonly attribute unsigned long textureWidth;
444444
readonly attribute unsigned long textureHeight;
445-
readonly attribute unsigned long textureLayers;
445+
readonly attribute unsigned long textureArrayLength;
446446

447447
readonly attribute boolean ignoreDepthValues;
448448
};
@@ -454,7 +454,7 @@ the [=colorTextures=] textures of this layer.
454454
The <dfn attribute for="XRProjectionLayer">textureHeight</dfn> attribute returns the height in pixels of
455455
the [=colorTextures=] textures of this layer.
456456

457-
The <dfn attribute for="XRProjectionLayer">textureLayers</dfn> attribute returns the number of layers of
457+
The <dfn attribute for="XRProjectionLayer">textureArrayLength</dfn> attribute returns the number of layers of
458458
the [=colorTextures=] textures of this layer if the {{XRProjectionLayer}} was initialized with a
459459
{{XRProjectionLayerInit/textureType}} of {{"texture-array"}}. Otherwise it will return <code>1</code>.
460460

0 commit comments

Comments
 (0)