pub fn vertex_layout(data: &[u8]) -> Result<VertexLayout>
Read a VertexLayout from the bytes of its resource.
VertexLayout