Function rokol::gfx::scissor[][src]

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

Discard output fragments outside of this rectangle

Must be called inside a rendering pass

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