[−][src]Function amethyst_rendy::util::push_vertex_desc
pub fn push_vertex_desc(
(elements, stride, rate): (impl IntoIterator<Item = Element<Format>>, ElemStride, VertexInputRate),
location: Location,
vertex_buffers: &mut Vec<VertexBufferDesc>,
attributes: &mut Vec<AttributeDesc>
)
Helper function which takes an iterator of tuple-stored vertex buffer descriptions and writes
into VertexBufferDesc
and AttributeDesc
collections.