Skip to main content
GPURenderPassEncoder.prototype.setViewport - GPU - Web documentation
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
Back to top