GPURenderPassLayout constructor
GPURenderPassLayout({
- Iterable<
GPUTextureFormat> ? colorFormats, - GPUTextureFormat? depthStencilFormat,
- 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);