pub unsafe extern "C" fn bgfx_set_view_rect(
    _id: bgfx_view_id_t,
    _x: u16,
    _y: u16,
    _width: u16,
    _height: u16
)
Expand description

Set view rectangle. Draw primitive outside view will be clipped.

@param[in] _id View id. @param[in] _x Position x from the left corner of the window. @param[in] _y Position y from the top corner of the window. @param[in] _width Width of view port region. @param[in] _height Height of view port region.