Sean O Nuallain said this quote

Our view of the mind not only shapes our view of ourselves; less obviously, it also shapes our view of that part of our experience we conceive of as dealing with the external world. As we learn about the structure of this aspect of experience, we find that the world presents itself to consciousness only after being mediated to lesser or (more often) greater extents by mental structures and processes.