GPURenderPassDescriptor constructor

GPURenderPassDescriptor({
  1. Iterable<GPURenderPassColorAttachment>? colorAttachments,
  2. GPURenderPassDepthStencilAttachment? depthStencilAttachment,
  3. GPUQuerySet? occlusionQuerySet,
  4. Iterable<GPURenderPassTimestampWrite>? timestampWrites,
  5. int? maxDrawCount,
})

Implementation

factory GPURenderPassDescriptor(
        {Iterable<GPURenderPassColorAttachment>? colorAttachments,
        GPURenderPassDepthStencilAttachment? depthStencilAttachment,
        GPUQuerySet? occlusionQuerySet,
        Iterable<GPURenderPassTimestampWrite>? timestampWrites,
        int? maxDrawCount}) =>
    GPURenderPassDescriptor._(
        colorAttachments: colorAttachments ?? undefined,
        depthStencilAttachment: depthStencilAttachment ?? undefined,
        occlusionQuerySet: occlusionQuerySet ?? undefined,
        timestampWrites: timestampWrites ?? const [],
        maxDrawCount: maxDrawCount ?? 50000000);