viewport-state
GPU-accelerated rendering » GPU state

Prev:set-gpu-state ( states -- )
Next:scissor-state


Vocabulary
gpu.state

Class description
The viewport-state controls the rectangular region of the framebuffer to which window-space coordinates are mapped. Window-space vertices are mapped from the rectangle <-1.0, -1.0>­<1.0, 1.0> to the rectangular region specified by the rect slot.

See also
<viewport-state>, get-viewport-state

Definition


Methods