Module viewport

Source
Expand description

viewport.rs - Low level viewport management for the render context.

Structsยง

ViewPort
Viewport is a rectangle that defines the area of the screen that will be rendered to. For instance, if the viewport is set to x=0, y=0, width=100, height=100, then only the top left 100x100 pixels of the screen will be rendered to.
ViewPortBuilder
A builder for Viewport.