Function rokol::gfx::viewport[][src]

pub fn viewport(x: u32, y: u32, w: u32, h: u32)
Expand description

Output rectangle space

Must be called inside a rendering pass

The (0, 0) point is at the left-bottom corner of the target. TODO: really?