setD method
Copies the fields of the Dart struct o into this instance.
Implementation
@override
MaterialD setD(MaterialD o) {
originalPointer ??= o.originalPointer;
shader.setD(o.shader);
maps = o.maps.map((x) => x.clone()).toList();
params = .from(o.params);
return this;
}