Esempio n. 1
0
        public virtual void Dispose()
        {
            RenderTexture.active = null;
            BlendTexture?.Release();
            m_RGBSource?.Release();

            GameObject.Destroy(m_TempCombineTex);
            BlendTexture     = null;
            m_RGBSource      = null;
            m_TempCombineTex = null;
        }
Esempio n. 2
0
 public void CopyTo(BlendTexture target)
 {
     Graphics.Blit((Texture)this.result, target.result);
 }
Esempio n. 3
0
 public void Dispose()
 {
     BlendTexture.Release();
     BlendTexture = null;
 }