How would I go about drawing the outline of a box with Managed DirectX (C#) which I can easily change the color of I have a vertexbuffer set up with the relevent vertex's, and can draw an outline using linestrip. However, I can't work out how to change the color. Currently it uses a texture, which means I need to load in a bitmap of the relevent color, which limits the range of colors and requires resources.

Drawing lines with adjustable color in Managed DirectX (C#)
Felipe Levin
It should work if you use a vertex type that include color.
Or use the D3DX Line class.