GPURenderPipelineDescriptor.withoutDepth constructor

GPURenderPipelineDescriptor.withoutDepth({
  1. JSAny layout,
  2. GPUVertexState vertex,
  3. GPUFragmentState fragment,
  4. GPUPrimitiveState primitive,
  5. GPUMultisampleState multisample,
  6. String label,
})

A pipeline for a pass with colour attachments only.

depthStencil: null is refused the way every other absent member in this file is, and a pass without depth is the common case rather than the corner: the whole of the post-processing chain is one.

Implementation

external factory GPURenderPipelineDescriptor.withoutDepth({
  JSAny layout,
  GPUVertexState vertex,
  GPUFragmentState fragment,
  GPUPrimitiveState primitive,
  GPUMultisampleState multisample,
  String label,
});