writeInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void writeInto(TextureC p) {
p.id = id;
p.width = width;
p.height = height;
p.mipmaps = mipmaps;
p.format = format.value;
}