private void Dispose(bool disposing) { if (mDisposed) { return; } if (disposing) { mGrassMesh.Dispose(); mGrassTexture.Dispose(); } mDisposed = true; }
private void Dispose(bool disposing) { if (mDisposed) { return; } if (disposing) { mSkyDome.Dispose(); mTint.Dispose(); mSunMorph.Dispose(); mMoon.Dispose(); } mDisposed = true; }