Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. XRWebGLSubImage

XRWebGLSubImage

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

TheXRWebGLSubImage interface is used during rendering of WebGL layers.

XRSubImage XRWebGLSubImage

Instance properties

Inherits properties from its parent,XRSubImage.

XRWebGLSubImage.colorTextureRead onlyExperimental

A colorWebGLTexture object for theXRCompositionLayer to render.

XRWebGLSubImage.depthStencilTextureRead onlyExperimental

A depth/stencilWebGLTexture object for theXRCompositionLayer to render.

XRWebGLSubImage.imageIndexRead onlyExperimental

A number representing the offset into the texture array if the layer was requested withtexture-array;null otherwise.

XRWebGLSubImage.colorTextureWidthRead onlyExperimental

A number representing the width in pixels of the GL attachment.

XRWebGLSubImage.colorTextureHeightRead onlyExperimental

A number representing the height in pixels of the GL attachment.

Specifications

Specification
WebXR Layers API Level 1
# xrwebglsubimagetype

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp