Table of Contents

Class XRWebGLDepthInformation

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The XRWebGLDepthInformation interface contains depth information from the GPU/WebGL (returned by GetDepthInformation(XRView)).
[Value("XRWebGLDepthInformation")]
public class XRWebGLDepthInformation : XRDepthInformation
Inheritance
XRWebGLDepthInformation
Inherited Members

Remarks

Constructors

XRWebGLDepthInformation()

public XRWebGLDepthInformation()

Properties

ImageIndex

[Value("imageIndex")]
public ulong? ImageIndex { get; }

Property Value

ulong?

Texture

NOTE
Experimental
The read-only texture property of the XRWebGLDepthInformation interface is a WebGLTexture containing depth buffer information as an opaque texture.
[Value("texture")]
public WebGLTexture Texture { get; }

Property Value

WebGLTexture

A WebGLTexture.

Remarks

-GetDepthInformation(XRView)
-WebGLRenderingContext.BindTexture

See also on MDN

TextureType

[Value("textureType")]
public XRTextureType TextureType { get; }

Property Value

XRTextureType