method GPURenderPassEncoder.prototype.setViewport GPURenderPassEncoder.prototype.setViewport(x: number,y: number,width: number,height: number,minDepth: number,maxDepth: number,): undefined Parameters x: number y: number width: number height: number minDepth: number maxDepth: number Return Type undefined