WebGPURenderPipelines constructor
WebGPURenderPipelines(
- dynamic renderer,
- dynamic device,
- dynamic sampleCount,
- dynamic nodes, [
- 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());
}