setD method

ImageC setD(
  1. ImageD o
)

Implementation

ImageC setD(ImageD o) {
  o.structOnOp((p) => data = p.ref.data);
  width = o.width;
  height = o.height;
  mipmaps = o.mipmaps;
  format = o.format.value;
  return this;
}