VecVec4i.fromPointer constructor

VecVec4i.fromPointer(
  1. Pointer<VecVec4i> ptr, [
  2. bool attach = true
])

Implementation

VecVec4i.fromPointer(super.ptr, [bool attach = true]) : super.fromPointer() {
  if (attach) {
    Vec.finalizer.attach(this, ptr.cast<ffi.Void>(), detach: this);
    Vec.finalizer.attach(this, ptr.ref.ptr.cast<ffi.Void>(), detach: this);
  }
}