RenderPass.setViewport

Sets the viewport region.

Subsequent draw calls will draw any fragments in this region.

struct RenderPass
void
setViewport
(
float x
,
float y
,
float w
,
float h
,
float minDepth
,
float maxDepth
)

Meta