protected override void OnHandleDestroyed(EventArgs e)
        {
            base.OnHandleDestroyed(e);

            mPreview.Dispose();
            mPreview = null;
        }
        private void UpdateMaterial()
        {
            meshAssetField.Fill <MeshSelectorWindow>("Mesh", mRenderer.Mesh);
            materialAssetField.Fill <MaterialSelectorWindow>("Material", mRenderer.Material);


            if (mPreview == null)
            {
                mPreview = new SingleMeshPreviewRenderer();
                mPreview.Init(materialPreviewPictureBox.Width, materialPreviewPictureBox.Height, this.Handle);
            }
            mPreview.SetMaterial(mRenderer.Material.LinkedProjectAsset.Guid);
            mPreview.Render();

            materialPreviewPictureBox.Image = mPreview.AsBitmap();
        }