public void PreviewDeactive() { if (mPreview != null) { mPreview.PreviewDeactive(); mPreview = null; } }
public void PreviewActive() { if (mPreview == null) { mPreview = new CubemapPreview(mGame, mSRV); mPreview.PreviewActive(); } }