wasmWriteInto method
Implementation
@override
void wasmWriteInto(WasmWriter writer) {
writer.Int32(type.value);
writer.Int32(enabled ? 1 : 0);
writer.struct(position);
writer.struct(target);
writer.struct(color);
writer.Float32(attenuation);
writer.Int32(enabledLoc);
writer.Int32(typeLoc);
writer.Int32(positionLoc);
writer.Int32(targetLoc);
writer.Int32(colorLoc);
writer.Int32(attenuationLoc);
}