writeInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void writeInto(LightC p) {
p.type = type.value;
p.enabled = enabled;
position.writeInto(p.position);
target.writeInto(p.target);
color.writeInto(p.color);
p.attenuation = attenuation;
p.enabledLoc = enabledLoc;
p.typeLoc = typeLoc;
p.positionLoc = positionLoc;
p.targetLoc = targetLoc;
p.colorLoc = colorLoc;
p.attenuationLoc = attenuationLoc;
}