setD method

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

Copies the fields of the Dart struct o into this instance.

Implementation

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