Function bgfx_sys::bgfx_set_transform
source · pub unsafe extern "C" fn bgfx_set_transform(
_mtx: *const c_void,
_num: u16
) -> u32
Expand description
Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.
@param[in] _mtx Pointer to first matrix in array. @param[in] _num Number of matrices in array.
@returns Index into matrix cache in case the same model matrix has to be used for other draw primitive call.