Better support for integer vertex attributes

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>