public TerrainClipmapRenderer(IGraphicsService graphicsService) { if (graphicsService == null) { throw new ArgumentNullException("graphicsService"); } if (graphicsService.GraphicsDevice.GraphicsProfile == GraphicsProfile.Reach) { throw new NotSupportedException("The TerrainClipmapRenderer does not support the Reach profile."); } _clearLayer = new TerrainClearLayer(graphicsService); }
public TerrainClipmapRenderer(IGraphicsService graphicsService) { if (graphicsService == null) throw new ArgumentNullException("graphicsService"); if (graphicsService.GraphicsDevice.GraphicsProfile == GraphicsProfile.Reach) throw new NotSupportedException("The TerrainClipmapRenderer does not support the Reach profile."); _clearLayer = new TerrainClearLayer(graphicsService); }