Function bgfx_rs::static_lib::set_view_rect_ratio
source · [−]pub fn set_view_rect_ratio(id: ViewId, x: u16, y: u16, ratio: BackbufferRatio)
Expand description
id
: View id.x
: Position x from the left corner of the window.y
: Position y from the top corner of the window.ratio
: Width and height will be set in respect to back-buffer size. See: BackbufferRatio.