bindAttribute is used for faster access so you don’t need to query for the attribute location every time and instead just set the attribute by the number instead. it’s mostly used by OF internally to bind the default attributes so the vbo always sets them to the same locations
bindAttribute is used for faster access to attributes. The idea is to set attributes by location (an integer) instead of querying attribute locations multiple times by name. This method is used internally by OF in ofShader::bindDefaults() to set the default locations of the position, color, normal and texcoord attributes.