XRWebGLLayerInit constructor

XRWebGLLayerInit({
  1. bool? antialias,
  2. bool? depth,
  3. bool? stencil,
  4. bool? alpha,
  5. bool? ignoreDepthValues,
  6. double? framebufferScaleFactor,
})

Implementation

factory XRWebGLLayerInit(
        {bool? antialias,
        bool? depth,
        bool? stencil,
        bool? alpha,
        bool? ignoreDepthValues,
        double? framebufferScaleFactor}) =>
    XRWebGLLayerInit._(
        antialias: antialias ?? true,
        depth: depth ?? true,
        stencil: stencil ?? false,
        alpha: alpha ?? true,
        ignoreDepthValues: ignoreDepthValues ?? false,
        framebufferScaleFactor: framebufferScaleFactor ?? 1.0);