microZEUS
The whole stack, hand-drawn.

◄ Wiki / Graphics

viewport

The rectangular region of the screen that your rendered image gets mapped onto.

After geometry is transformed, the GPU needs to know where on the target surface to place it. The viewport defines that destination rectangle — its position and size — mapping the abstract coordinate range onto real screen pixels. Splitting a window into multiple viewports lets you render different scenes side by side.

See also

  • view maskA bit pattern that picks which of several simultaneous views a rendering pass draws into.
  • vertex shadingThe rendering stage that processes each 3D corner point, mainly to compute where it lands on screen.
  • VulkanA modern, low-level programming interface for talking directly to graphics and compute hardware.

Referenced by

unnormalizedCoordinates · vertex shading · view mask