Does not yet call vao.setAttribute(...).
It only stores the information in the attributes map, such that you can later
call attribute(name).enable(index), which will call vao.setAttribute.
The second version automatically deduces the AttributeParameters
using attributeParametersFor!T. (Defined in moggle.core.vao.)
Add or change an attribute.
Does not yet call vao.setAttribute(...). It only stores the information in the attributes map, such that you can later call attribute(name).enable(index), which will call vao.setAttribute.
The second version automatically deduces the AttributeParameters using attributeParametersFor!T. (Defined in moggle.core.vao.)