setC method

  1. @override
TextureD setC(
  1. TextureC o
)
override

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

Implementation

@override
TextureD setC(TextureC o) {
  id = o.id;
  width = o.width;
  height = o.height;
  mipmaps = o.mipmaps;
  format = .fromValue(o.format);
  return this;
}