api_arrayelt through genmipmap