Function bgfx_sys::bgfx_vertex_unpack
source · pub unsafe extern "C" fn bgfx_vertex_unpack(
_output: *mut f32,
_attr: bgfx_attrib_t,
_layout: *const bgfx_vertex_layout_t,
_data: *const c_void,
_index: u32
)
Expand description
Unpack vertex attribute from vertex stream format.
@param[out] _output Result of unpacking. @param[in] _attr Attribute to unpack. @param[in] _layout Vertex stream layout. @param[in] _data Source vertex stream from where data will be unpacked. @param[in] _index Vertex index that will be unpacked.