Fair question.
When I lived there there were tensions in the Mission between the majority Latinos and gay people who were mostly white and correctly seen as gentrifying. I know it's changed where there are more rich tech people, more whites, and more Asians
I could be wrong but my understanding is that the homeless masses are mostly downtown Market Street, Tenderloin etc.