writeInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void writeInto(MaterialMapC p) {
texture.writeInto(p.texture);
color.writeInto(p.color);
p.value = value;
}