get method
dynamic
get(
- dynamic object, [
- dynamic lightNode
Implementation
get(object, [lightNode]) {
var nodeBuilder = this.builders.get(object);
if (nodeBuilder == undefined) {
nodeBuilder =
new WebGPUNodeBuilder(object, this.renderer, lightNode).build();
this.builders.set(object, nodeBuilder);
}
return nodeBuilder;
}