void OnEnable()
        {
            if (m_SharedPixelBuffer == null)
            {
                m_SharedPixelBuffer = GetComponent <SharedPixelBuffer32>();
            }

            m_SharedPixelBuffer.AssignColorChannels(out m_RedChannel, out m_GreenChannel, out m_BlueChannel);
            m_SharedPixelBuffer.RegisterOnGetPixelBufferAction(FinishJobs);

            m_DummyDependencyHandle = new JobHandle();
            m_DummyDependencyHandle.Complete();
        }
        // for use when the size changes
        public void ReInitialize(Color32[] pixels)
        {
            if (!m_BlueJobHandle.IsCompleted)
            {
                m_BlueJobHandle.Complete();
            }

            if (m_SharedPixelBuffer == null)
            {
                m_SharedPixelBuffer = GetComponent <SharedPixelBuffer32>();
            }

            m_SharedPixelBuffer.Initialize(pixels);
            m_SharedPixelBuffer.RegisterOnGetPixelBufferAction(FinishJobs);
        }