Texture drawing?

If I have two objects that are moving, how can I draw a texture/line between them (I cant use the built in line renderer because I want to reference object positions and not specific coordinates, right?)?.

Although I've never tried it myself, the documentation indicates that you can set the position of the line renderer vertices via scripting, so I imagine you can use the line renderer for this.

(Another option would be use Eric's Vectrosity library.)