Yeah, you’d have to be close to the individual(s) who were homosexual to be invited. the less closely related or friend, less likely the invitation will be given.
If I were invited to the gay wedding of a cousin, I'd go, but I'd probably sit with the cousin's elderly parents and commiserate over drinks.