Added return b_mat_textslot to store texture types.