public void Dispose()
 {
     if (lightBuffer != null)
     {
         lightBuffer.Dispose();
     }
     if (lightBuffer_GI != null)
     {
         lightBuffer_GI.Dispose();
     }
 }
        public void Dispose()
        {
#if UNITY_EDITOR
            UnityEditor.EditorApplication.delayCall += () =>
            {
                GameObject.DestroyImmediate(helper_);
            };
#else
            GameObject.Destroy(helper_);
#endif
            m_DirShadowArray.Dispose();
            m_PointShadowArray.Dispose();
            m_shadowcascade_matrix_vp.Dispose();
            m_pointLightMatrix.Dispose();
        }