updateViewport( renderContext ) {

		const { state } = this;
		const { x, y, width, height } = renderContext.viewportValue;

		state.viewport( x, renderContext.height - height - y, width, height );

	}
Updates the viewport with the values from the given render context.

@param {RenderContext} renderContext - The render context.