WebGPUBindings constructor
WebGPUBindings(
- dynamic device,
- dynamic info,
- dynamic properties,
- dynamic textures,
- dynamic renderPipelines,
- dynamic computePipelines,
- dynamic attributes,
- dynamic nodes,
Implementation
WebGPUBindings(device, info, properties, textures, renderPipelines,
computePipelines, attributes, nodes) {
this.device = device;
this.info = info;
this.properties = properties;
this.textures = textures;
this.renderPipelines = renderPipelines;
this.computePipelines = computePipelines;
this.attributes = attributes;
this.nodes = nodes;
this.uniformsData = new WeakMap();
this.updateMap = new WeakMap();
}