Skip to content

Commit

Permalink
XRWebGLSubImage/textureHeight|Width → colorTextureHeight|Width (#21508)
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed Oct 12, 2022
1 parent 5d88855 commit 80706f3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions files/en-us/_redirects.txt
Expand Up @@ -10201,6 +10201,8 @@
/en-US/docs/Web/API/XRWebGLLayerInit/framebufferscalefactor /en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer
/en-US/docs/Web/API/XRWebGLLayerInit/ignoredepthvalues /en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer
/en-US/docs/Web/API/XRWebGLLayerInit/stencil /en-US/docs/Web/API/XRWebGLLayer/XRWebGLLayer
/en-US/docs/Web/API/XRWebGLSubImage/textureHeight /en-US/docs/Web/API/XRWebGLSubImage/colorTextureHeight
/en-US/docs/Web/API/XRWebGLSubImage/textureWidth /en-US/docs/Web/API/XRWebGLSubImage/colorTextureWidth
/en-US/docs/Web/API/console.assert /en-US/docs/Web/API/console/assert
/en-US/docs/Web/API/console.dir /en-US/docs/Web/API/console/dir
/en-US/docs/Web/API/console.error /en-US/docs/Web/API/console/error
Expand Down
@@ -1,6 +1,6 @@
---
title: XRWebGLSubImage.textureHeight
slug: Web/API/XRWebGLSubImage/textureHeight
title: XRWebGLSubImage.colorTextureHeight
slug: Web/API/XRWebGLSubImage/colorTextureHeight
page-type: web-api-instance-property
tags:
- API
Expand All @@ -12,12 +12,12 @@ tags:
- WebXR Device API
- XR
- Experimental
browser-compat: api.XRWebGLSubImage.textureHeight
browser-compat: api.XRWebGLSubImage.colorTextureHeight
---

{{APIRef("WebXR Device API")}}{{SeeCompatTable}}

The read-only **`textureHeight`** property of the {{domxref("XRWebGLSubImage")}} interface is a number representing the height in pixels of the GL attachment.
The read-only **`colorTextureHeight`** property of the {{domxref("XRWebGLSubImage")}} interface is a number representing the height in pixels of the GL attachment.

## Value

Expand Down
@@ -1,6 +1,6 @@
---
title: XRWebGLSubImage.textureWidth
slug: Web/API/XRWebGLSubImage/textureWidth
title: XRWebGLSubImage.colorTextureWidth
slug: Web/API/XRWebGLSubImage/colorTextureWidth
page-type: web-api-instance-property
tags:
- API
Expand All @@ -12,12 +12,12 @@ tags:
- WebXR Device API
- XR
- Experimental
browser-compat: api.XRWebGLSubImage.textureWidth
browser-compat: api.XRWebGLSubImage.colorTextureWidth
---

{{APIRef("WebXR Device API")}}{{SeeCompatTable}}

The read-only **`textureWidth`** property of the {{domxref("XRWebGLSubImage")}} interface is a number representing the width in pixels of the GL attachment.
The read-only **`colorTextureWidth`** property of the {{domxref("XRWebGLSubImage")}} interface is a number representing the width in pixels of the GL attachment.

## Value

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/xrwebglsubimage/index.md
Expand Up @@ -30,9 +30,9 @@ _Inherits properties from its parent, {{domxref("XRSubImage")}}._
- : A depth/stencil {{domxref("WebGLTexture")}} object for the {{domxref("XRCompositionLayer")}} to render.
- {{domxref("XRWebGLSubImage.imageIndex")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : A number representing the offset into the texture array if the layer was requested with `texture-array`; [`null`](/en-US/docs/Web/JavaScript/Reference/Operators/null) otherwise.
- {{domxref("XRWebGLSubImage.textureWidth")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("XRWebGLSubImage.colorTextureWidth")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : A number representing the width in pixels of the GL attachment.
- {{domxref("XRWebGLSubImage.textureHeight")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- {{domxref("XRWebGLSubImage.colorTextureHeight")}} {{ReadOnlyInline}} {{Experimental_Inline}}
- : A number representing the height in pixels of the GL attachment.

## Specifications
Expand Down

0 comments on commit 80706f3

Please sign in to comment.