CompiledShaderVertexAttributes compile_shader_layout(const CompiledVertexTypeList &l, const ShaderVertexAttributes &elements, std::optional< InstanceProp > instance_prop, std::optional< int > start_index)
A mapping of the vertex type (position...) to the actual shader id (for more than one shader)
std::map< VertexType, int > indices