public XnaServiceProvider(GraphicsDevice graphicsDevice) { graphicsDevice.ThrowIfNull("graphicsDevice"); _graphicsDevice = graphicsDevice; }