D3d vertex texture color

Explanation
This function adds a vertex with a texture to the primitive currently being drawn. It will be drawn with it's own colour and alpha, specified in the function parameters. The parameters xtex and ytex will usually lie between 0 and 1. 0 being the left/top of the texture and 1 being right/bottom of the texture. All points in between can be represented using a number between 0 and 1. You can however put a number greater than 1 if you want the texture to repeat along the surface. You must set texture_set_repeat(true) to achieve this effect.