WebGPURenderPipelines constructor

WebGPURenderPipelines(
  1. dynamic renderer,
  2. dynamic device,
  3. dynamic sampleCount,
  4. dynamic nodes, [
  5. dynamic bindings = null,
])

Implementation

WebGPURenderPipelines(renderer, device, sampleCount, nodes,
    [bindings = null]) {
  this.renderer = renderer;
  this.device = device;
  this.sampleCount = sampleCount;
  this.nodes = nodes;
  this.bindings = bindings;

  this.pipelines = [];
  this.objectCache = new WeakMap();

  this.stages = _Stages(vertex: new Map(), fragment: new Map());
}