public void DestroyImageView(IMgDevice device, IMgAllocationCallbacks allocator) { if (mIsDisposed) { return; } mModule.DeleteImageView(TextureId); // int textureId = TextureId; // GL.DeleteTextures (1, ref textureId); mIsDisposed = true; }