GPURenderPassLayout constructor

GPURenderPassLayout({
  1. Iterable<GPUTextureFormat>? colorFormats,
  2. GPUTextureFormat? depthStencilFormat,
  3. int? sampleCount,
})

Implementation

factory GPURenderPassLayout(
        {Iterable<GPUTextureFormat>? colorFormats,
        GPUTextureFormat? depthStencilFormat,
        int? sampleCount}) =>
    GPURenderPassLayout._(
        colorFormats: colorFormats?.map((e) => e.value) ?? undefined,
        depthStencilFormat: depthStencilFormat?.value ?? undefined,
        sampleCount: sampleCount ?? 1);