setViewport( x, y, width, height, minDepth = 0, maxDepth = 1 ) {

		const viewport = this._viewport;

		if ( x.isVector4 ) {

			viewport.copy( x );

		} else {

			viewport.set( x, y, width, height );

		}

		viewport.minDepth = minDepth;
		viewport.maxDepth = maxDepth;

	}
Defines the viewport.

@param {number | Vector4} x - The horizontal coordinate for the lower left corner of the viewport origin in logical pixel unit.
@param {number} y - The vertical coordinate for the lower left corner of the viewport origin  in logical pixel unit.
@param {number} width - The width of the viewport in logical pixel unit.
@param {number} height - The height of the viewport in logical pixel unit.
@param {number} minDepth - The minimum depth value of the viewport. WebGPU only.
@param {number} maxDepth - The maximum depth value of the viewport. WebGPU only.