Copies the fields of o into this instance and returns this.
o
this
@override TextureD setD(TextureD o) { id = o.id; width = o.width; height = o.height; mipmaps = o.mipmaps; format = o.format; return this; }