setD method

  1. @override
ImageD setD(
  1. ImageD o
)
override

Copies the fields of o into this instance and returns this.

Implementation

@override
ImageD setD(ImageD o) {
  width = o.width;
  height = o.height;
  mipmaps = o.mipmaps;
  format = o.format;
  data = .fromList(o.data);
  return this;
}