@JsType(isNative=true,
namespace="<global>",
name="Object")
public static interface XRWebGLLayerInit.Builder
extends XRWebGLLayerInit
XRWebGLLayerInit.Builder| Modifier and Type | Method and Description |
|---|---|
default XRWebGLLayerInit.Builder |
alpha(boolean alpha)
The alpha property is a Boolean value which, if present and set to true in the XRWebGLLayerInit dictionary passed into the XRWebGLLayer() constructor, specifies that the new layer's color buffer is to include an alpha channel.
|
default XRWebGLLayerInit.Builder |
antialias(boolean antialias)
The Boolean antialias property, if present and set to true in the XRWebGLLayerInit object provided as the XRWebGLLayer() constructor's layerInit parameter, requests that the new WebGL rendering layer support anti-aliasing.
|
default XRWebGLLayerInit.Builder |
depth(boolean depth)
When using the XRWebGLLayer() constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose depth property is false will request that the new layer be created without a depth buffer.
|
default XRWebGLLayerInit.Builder |
framebufferScaleFactor(double framebufferScaleFactor)
The XRWebGLLayerInit dictionary's framebufferScaleFactor property, when specified upon instantiating a new XRWebGLLayer using its constructor, XRWebGLLayer(), specifies the scaling factor to use when determining the size of the frame buffer to use when rendering the scene, relative to the default XR device display resolution.
|
default XRWebGLLayerInit.Builder |
ignoreDepthValues(boolean ignoreDepthValues)
The XRWebGLLayerInit dictionary's Boolean ignoreDepthValues property can be provided in the options passed into the XRWebGLLayer() constructor to indicate that the depth buffer, if it exists, should be ignored while composing the scene.
|
default XRWebGLLayerInit.Builder |
stencil(boolean stencil)
When using the XRWebGLLayer() constructor to create a new WebGL rendering layer for WebXR, providing as the layerInit parameter an object whose stencil property is false requests that the new layer be created without a stencil buffer.
|
alpha, antialias, depth, framebufferScaleFactor, ignoreDepthValues, of, setAlpha, setAntialias, setDepth, setFramebufferScaleFactor, setIgnoreDepthValues, setStencil, stencil@JsOverlay @Nonnull default XRWebGLLayerInit.Builder alpha(boolean alpha)
@JsOverlay @Nonnull default XRWebGLLayerInit.Builder antialias(boolean antialias)
@JsOverlay @Nonnull default XRWebGLLayerInit.Builder depth(boolean depth)
@JsOverlay @Nonnull default XRWebGLLayerInit.Builder framebufferScaleFactor(double framebufferScaleFactor)
@JsOverlay @Nonnull default XRWebGLLayerInit.Builder ignoreDepthValues(boolean ignoreDepthValues)
@JsOverlay @Nonnull default XRWebGLLayerInit.Builder stencil(boolean stencil)