Function bgfx_sys::bgfx_weld_vertices
source · pub unsafe extern "C" fn bgfx_weld_vertices(
_output: *mut c_void,
_layout: *const bgfx_vertex_layout_t,
_data: *const c_void,
_num: u32,
_index32: bool,
_epsilon: f32
) -> u32
Expand description
Weld vertices.
@param[in] _output Welded vertices remapping table. The size of buffer
must be the same as number of vertices.
@param[in] _layout Vertex stream layout.
@param[in] _data Vertex stream.
@param[in] _num Number of vertices in vertex stream.
@param[in] _index32 Set to true
if input indices are 32-bit.
@param[in] _epsilon Error tolerance for vertex position comparison.
@returns Number of unique vertices after vertex welding.