Class XRWebGLSubImage
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRWebGLSubImage interface is used during rendering of WebGL layers.
[Value("XRWebGLSubImage")]
public class XRWebGLSubImage : XRSubImage
- Inheritance
-
XRWebGLSubImage
- Inherited Members
Remarks
Constructors
XRWebGLSubImage()
public XRWebGLSubImage()
Properties
ColorTexture
NOTE
ExperimentalcolorTexture property of the XRWebGLSubImage interface represents the color WebGLTexture object for the XRCompositionLayer to render.
[Value("colorTexture")]
public WebGLTexture ColorTexture { get; }
Property Value
- WebGLTexture
An opaque WebGLTexture. See WebXR opaque textures for details.
Remarks
-WebGL2RenderingContext.FramebufferTextureLayer
ColorTextureHeight
NOTE
ExperimentalcolorTextureHeight property of the XRWebGLSubImage interface is a number representing the height in pixels of the GL attachment.
[Value("colorTextureHeight")]
public ulong ColorTextureHeight { get; }
Property Value
- ulong
A number indicating the height in pixels.
Remarks
ColorTextureWidth
NOTE
ExperimentalcolorTextureWidth property of the XRWebGLSubImage interface is a number representing the width in pixels of the GL attachment.
[Value("colorTextureWidth")]
public ulong ColorTextureWidth { get; }
Property Value
- ulong
A number indicating the width in pixels.
Remarks
DepthStencilTexture
NOTE
ExperimentaldepthStencilTexture property of the XRWebGLSubImage interface represents the depth/stencil WebGLTexture object for the XRCompositionLayer to render.
[Value("depthStencilTexture")]
public WebGLTexture? DepthStencilTexture { get; }
Property Value
- WebGLTexture
An opaque WebGLTexture. See WebXR opaque textures for details.
Remarks
-WebGL2RenderingContext.FramebufferTextureLayer
DepthStencilTextureHeight
[Value("depthStencilTextureHeight")]
public ulong? DepthStencilTextureHeight { get; }
Property Value
DepthStencilTextureWidth
[Value("depthStencilTextureWidth")]
public ulong? DepthStencilTextureWidth { get; }
Property Value
ImageIndex
NOTE
ExperimentalimageIndex property of the XRWebGLSubImage interface is a number representing the offset into the texture array if the layer was requested with texture-array; null otherwise.
[Value("imageIndex")]
public ulong? ImageIndex { get; }
Property Value
Remarks
-WebGL2RenderingContext.FramebufferTextureLayer
MotionVectorTexture
[Value("motionVectorTexture")]
public WebGLTexture? MotionVectorTexture { get; }
Property Value
MotionVectorTextureHeight
[Value("motionVectorTextureHeight")]
public ulong? MotionVectorTextureHeight { get; }
Property Value
MotionVectorTextureWidth
[Value("motionVectorTextureWidth")]
public ulong? MotionVectorTextureWidth { get; }