XRWebGLLayer constructor

XRWebGLLayer(
  1. XRSession session,
  2. dynamic context, [
  3. XRWebGLLayerInit? layerInit
])

Implementation

factory XRWebGLLayer(XRSession session, dynamic context,
        [XRWebGLLayerInit? layerInit]) =>
    XRWebGLLayer._(session, context ?? undefined, layerInit ?? undefined);