Allow to pass directly vertices and indices for model
Fix input handle