UMat.fromPointer constructor

UMat.fromPointer(
  1. UMatPtr mat, {
  2. bool attach = true,
  3. int? externalSize,
})

construct from pointer directly

Implementation

factory UMat.fromPointer(cvg.UMatPtr mat, {bool attach = true, int? externalSize}) =>
    UMat._(mat, attach: attach, externalSize: externalSize);