rendy_util::types::vertex

Function attribute_uuid

Source
pub fn attribute_uuid(name: &str, index: u8, format: Format) -> AttrUuid
Expand description

Retreive a unique identifier for vertex attribute of given name, format and array index.

Non-array attributes should always use index 0. Matrices and arrays must be specified as a series of attributes with the same name and consecutive indices.