A managed memory pointer to a native platform buffer

interface NativeBuffer {
    pointer: bigint;
    delete(): void;
}

Properties

Methods

Properties

pointer: bigint

A uint64_t/uintptr_t to the native platform buffer.

  • On iOS; this points to a CVPixelBufferRef
  • On Android; this points to a AHardwareBuffer*

Methods

  • Delete this reference to the platform buffer again. There might still be other references, so it does not guarantee buffer deletion.

    This must always be called, otherwise the pipeline will stall.

    Returns void