@override void writeInto(TextureC p) { p.id = id; p.width = width; p.height = height; p.mipmaps = mipmaps; p.format = format.value; }