WebGPUBindings constructor

WebGPUBindings(
  1. dynamic device,
  2. dynamic info,
  3. dynamic properties,
  4. dynamic textures,
  5. dynamic renderPipelines,
  6. dynamic computePipelines,
  7. dynamic attributes,
  8. 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();
}