Vec8i.fromNative constructor

Vec8i.fromNative(
  1. Vec8i v
)

Implementation

factory Vec8i.fromNative(cvg.Vec8i v) {
  final p = calloc<cvg.Vec8i>()
    ..ref.val1 = v.val1
    ..ref.val2 = v.val2
    ..ref.val3 = v.val3
    ..ref.val4 = v.val4
    ..ref.val5 = v.val5
    ..ref.val6 = v.val6
    ..ref.val7 = v.val7
    ..ref.val8 = v.val8;
  return Vec8i._(p);
}