public void BeforeRender(CCTexture2D pTexture) { m_pOldRenderTarget = CCDrawManager.GetRenderTarget(); CCDrawManager.SetRenderTarget(pTexture); CCDrawManager.Clear(Color.Transparent); }