Function bgfx_sys::bgfx_vertex_pack

source ·
pub unsafe extern "C" fn bgfx_vertex_pack(
    _input: *const f32,
    _inputNormalized: bool,
    _attr: bgfx_attrib_t,
    _layout: *const bgfx_vertex_layout_t,
    _data: *mut c_void,
    _index: u32
)
Expand description

Pack vertex attribute into vertex stream format.

@param[in] _input Value to be packed into vertex stream. @param[in] _inputNormalized true if input value is already normalized. @param[in] _attr Attribute to pack. @param[in] _layout Vertex stream layout. @param[in] _data Destination vertex stream where data will be packed. @param[in] _index Vertex index that will be modified.