Added nMeshInstance::optimize for grouping batches inside mesh instances