GPURenderPassDescriptor constructor
GPURenderPassDescriptor({
- Iterable<
GPURenderPassColorAttachment> ? colorAttachments, - GPURenderPassDepthStencilAttachment? depthStencilAttachment,
- GPUQuerySet? occlusionQuerySet,
- Iterable<
GPURenderPassTimestampWrite> ? timestampWrites, - 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);