enabling/disabling vertex attribute pointer on mesh