コード例 #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;
        }
コード例 #2
0
 public void CopyTo(BlendTexture target)
 {
     Graphics.Blit((Texture)this.result, target.result);
 }
コード例 #3
0
 public void Dispose()
 {
     BlendTexture.Release();
     BlendTexture = null;
 }