internal AddReferenceImageJobState(IntPtr nativePtr, JobHandle jobHandle, MutableRuntimeReferenceImageLibrary library)
        {
            if (library == null)
            {
                throw new ArgumentNullException(nameof(library));
            }

            m_Handle       = nativePtr;
            m_Library      = library;
            this.jobHandle = jobHandle;
        }
 internal Enumerator(MutableRuntimeReferenceImageLibrary lib)
 {
     m_Library = lib;
     m_Index   = -1;
 }