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; } }
public override void Release() { if (blur != null) { blur.Release(); blur = null; } if (quad != null) { quad.Release(); quad = null; } }
public void Release() { if (quad != null) { quad.Release(); quad = null; } if (glview != null) { glview.Dispose(); glview = null; FHost.Child = null; } }
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; } }