Function bgfx_sys::bgfx_set_uniform
source · pub unsafe extern "C" fn bgfx_set_uniform(
_handle: bgfx_uniform_handle_t,
_value: *const c_void,
_num: u16
)
Expand description
Set shader uniform parameter for draw primitive.
@param[in] _handle Uniform.
@param[in] _value Pointer to uniform data.
@param[in] _num Number of elements. Passing UINT16_MAX
will
use the _num passed on uniform creation.