Exemple #1
0
        public static void ReleaseAll()
        {
            if (temp != null)
            {
                temp.Release();
                temp = null;
            }

            if (colorBuff != null)
            {
                colorBuff.Release();
                colorBuff = null;
            }

            if (renderQuad != null)
            {
                renderQuad.Release();
                renderQuad = null;
            }

            if (renderBuff != null)
            {
                renderBuff.Release();
                renderBuff = null;
            }

            if (frameBuff != null)
            {
                frameBuff.Release();
                frameBuff = null;
            }
        }
Exemple #2
0
        public override void Release()
        {
            if (blur != null)
            {
                blur.Release();
                blur = null;
            }

            if (quad != null)
            {
                quad.Release();
                quad = null;
            }
        }
Exemple #3
0
        public void Release()
        {
            if (quad != null)
            {
                quad.Release();
                quad = null;
            }

            if (glview != null)
            {
                glview.Dispose();
                glview      = null;
                FHost.Child = null;
            }
        }
Exemple #4
0
 public static void ReleaseAll()
 {
     if (colorBuff != null)
     {
         colorBuff.Release();
     }
     if (renderQuad != null)
     {
         renderQuad.Release();
     }
     if (renderBuff != null)
     {
         renderBuff.Release();
     }
     if (frameBuff != null)
     {
         frameBuff.Release();
     }
 }
        public void Release()
        {
            if (blankTexture != null)
            {
                blankTexture.Release();
                blankTexture = null;
            }

            if (quad != null)
            {
                quad.Release();
                quad = null;
            }

            if (glview != null)
            {
                glview.Dispose();
                glview      = null;
                FHost.Child = null;
            }
        }