/// <summary>Resize every mask and repopulate the navigation mask.</summary>
        /// <param name="newResolution"></param>
        protected void ResizeResolution(int newResolution)
        {
            if (newResolution == resolution)
            {
                return;
            }

            masks        = new Masks(newResolution);
            m_Resolution = newResolution;

            Assert.AreEqual(navigationMaskTexture.width, navigationMaskTexture.height);
            Assert.AreEqual(navigationMaskTexture.width, newResolution);
        }
        /*----------------------------------------------------------------------------
        *           Private Methods.
        *  ----------------------------------------------------------------------------*/

        private void PopulateFields()
        {
            masks     = new Masks(resolution);
            eyesights = new Eyesights(renderSightKernelId, computeShader, kMaxSights);
        }