Copies the fields of the Dart struct o into this instance.
o
@override ShaderD setD(ShaderD o) { originalPointer ??= o.originalPointer; id = o.id; locs = .from(o.locs); return this; }