def METHOD_NAME(b_mat, shader_prop):
    for texture_slot in b_mat.texture_slots:
        if texture_slot:
            texture_slot.scale.x = shader_prop.uv_scale.u
            texture_slot.scale.y = shader_prop.uv_scale.v