Function bgfx_sys::bgfx_vertex_layout_decode
source · pub unsafe extern "C" fn bgfx_vertex_layout_decode(
_this: *const bgfx_vertex_layout_t,
_attrib: bgfx_attrib_t,
_num: *mut u8,
_type: *mut bgfx_attrib_type_t,
_normalized: *mut bool,
_asInt: *mut bool
)
Expand description
Decode attribute.
@param[in] _attrib Attribute semantics. See: bgfx::Attrib
@param[out] _num Number of elements.
@param[out] _type Element type.
@param[out] _normalized Attribute is normalized.
@param[out] _asInt Attribute is packed as int.