X-ray mode in render?

How to get x-ray mode (selected in Display) in render?



Xray mode is not something you render.
There are a couple of things you could try to get the same effect
For example making the material of objects that are not Xray a mix with transparent so the other objects can be seen through
Or achieving the same thing using compositing rendering the objects on different layers and then combining them

For example

Hope this helps