XRLayerInit constructor
XRLayerInit({})
Implementation
factory XRLayerInit(
{required XRSpace space,
int? colorFormat,
int? depthFormat,
int? mipLevels,
int? viewPixelWidth,
int? viewPixelHeight,
XRLayerLayout? layout,
bool? isStatic}) =>
XRLayerInit._(
space: space,
colorFormat: colorFormat ?? 0x1908,
depthFormat: depthFormat ?? undefined,
mipLevels: mipLevels ?? 1,
viewPixelWidth: viewPixelWidth ?? undefined,
viewPixelHeight: viewPixelHeight ?? undefined,
layout: layout?.value ?? XRLayerLayout.mono.value,
isStatic: isStatic ?? false);