fn sanitize_values(func_type: ComponentTransferFuncType, values: &[f32]) -> bool