[][src]Function amethyst_rendy::util::vertex_desc

pub fn vertex_desc(
    formats: &[(VertexFormat, VertexInputRate)]
) -> (Vec<VertexBufferDesc>, Vec<AttributeDesc>)

Helper function which takes an array of vertex format information and returns allocated VertexBufferDesc and AttributeDesc collections.