WebGPUNodeBuilder constructor

WebGPUNodeBuilder(
  1. dynamic object,
  2. dynamic renderer, [
  3. dynamic lightNode = null
])

Implementation

WebGPUNodeBuilder(object, renderer, [lightNode = null])
    : super(object, renderer, null) {
  this.lightNode = lightNode;

  this.bindings = {"vertex": [], "fragment": []};
  this.bindingsOffset = {"vertex": 0, "fragment": 0};

  this.uniformsGroup = {};

  this._parseObject();
}