Original Post
I''d like to a GUI that supports controls, panels, dialogs etc.. to fade in and out.
Now, I have done that at the moment using ID3DXSprite interface. As this supports, in its Draw() method, the ability to overide the texture it draws with with a 32Bit colour value. So I can draw the sprite with say D3DCOLOR(255,255,255,alpha). and change the alpha component each frame to change the transparency of the image.
If I were to use a Mesh based drawing technique instead, where I render a texture onto 2 triangles, is there a similar simple solution to change or overriding the alpha component of the texture I wish to draw when I call DrawPrimitive or DrawIndexedPrimitve()
Thanks you