Changed the vertex attributes flag to be an enum class instead of unsigned int