From 80706f3a91688b21036c2c70216ffd0cd260a73d Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Wed, 12 Oct 2022 20:38:25 +0900 Subject: [PATCH] =?UTF-8?q?XRWebGLSubImage/textureHeight|Width=20=E2=86=92?= =?UTF-8?q?=20colorTextureHeight|Width=20(#21508)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://immersive-web.github.io/layers/#xrwebglsubimagetype Related BCD PR: https://github.com/mdn/browser-compat-data/pull/17985 --- files/en-us/_redirects.txt | 2 ++ .../{textureheight => colortextureheight}/index.md | 8 ++++---- .../{texturewidth => colortexturewidth}/index.md | 8 ++++---- files/en-us/web/api/xrwebglsubimage/index.md | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) rename files/en-us/web/api/xrwebglsubimage/{textureheight => colortextureheight}/index.md (55%) rename files/en-us/web/api/xrwebglsubimage/{texturewidth => colortexturewidth}/index.md (55%) diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index fecefe39c3087f5..474d6182d558bbe 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -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 diff --git a/files/en-us/web/api/xrwebglsubimage/textureheight/index.md b/files/en-us/web/api/xrwebglsubimage/colortextureheight/index.md similarity index 55% rename from files/en-us/web/api/xrwebglsubimage/textureheight/index.md rename to files/en-us/web/api/xrwebglsubimage/colortextureheight/index.md index 29202e4131a6311..5db5b389c5d0cac 100644 --- a/files/en-us/web/api/xrwebglsubimage/textureheight/index.md +++ b/files/en-us/web/api/xrwebglsubimage/colortextureheight/index.md @@ -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 @@ -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 diff --git a/files/en-us/web/api/xrwebglsubimage/texturewidth/index.md b/files/en-us/web/api/xrwebglsubimage/colortexturewidth/index.md similarity index 55% rename from files/en-us/web/api/xrwebglsubimage/texturewidth/index.md rename to files/en-us/web/api/xrwebglsubimage/colortexturewidth/index.md index a8a7c01c49c5286..9e8948e9f096adc 100644 --- a/files/en-us/web/api/xrwebglsubimage/texturewidth/index.md +++ b/files/en-us/web/api/xrwebglsubimage/colortexturewidth/index.md @@ -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 @@ -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 diff --git a/files/en-us/web/api/xrwebglsubimage/index.md b/files/en-us/web/api/xrwebglsubimage/index.md index 5dc53d3e77e626b..be8723f531dd32f 100644 --- a/files/en-us/web/api/xrwebglsubimage/index.md +++ b/files/en-us/web/api/xrwebglsubimage/index.md @@ -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