Original Post
I have a vertex buffer which defines a wireframe cube. This vertex buffer uses the PositionOnly vertex type. Is it possible to tell Direct3D what colour to draw this cube without having to use (for example) the PositionColored vertex type? I want to make the colour of the cube changable and I can't think of any way to do this other than recreate the vertex buffer each time the colour is changed... With OpenGL (in C++) I could use the glColor3f function to achieve this effect. Is there anything similar in Direct3D for C#? Thanks