Function bgfx_sys::bgfx_set_view_transform
source · pub unsafe extern "C" fn bgfx_set_view_transform(
_id: bgfx_view_id_t,
_view: *const c_void,
_proj: *const c_void
)
Expand description
Set view’s view matrix and projection matrix, all draw primitives in this view will use these two matrices.
@param[in] _id View id. @param[in] _view View matrix. @param[in] _proj Projection matrix.