d3d colors

Posts 1–6 of 6 · Page 1 of 1
d3d colors
Title says It all, Just thought this could help some people.
Code:
GenerateTexture(pDevice, &Red, D3DCOLOR_ARGB (255 , 255 , 0 , 0 ));
GenerateTexture(pDevice, &Yellow, D3DCOLOR_ARGB (255 , 255 , 255 , 0 ));
GenerateTexture(pDevice, &Green, D3DCOLOR_ARGB (255 , 0 , 255 , 0 ));
GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255 , 0 , 0 , 255 ));
GenerateTexture(pDevice, &Purple, D3DCOLOR_ARGB (255 , 102 , 0 , 153 ));
GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255 , 255 , 20 , 147 ));
GenerateTexture(pDevice, &Orange, D3DCOLOR_ARGB (255 , 255 , 165 , 0 ));
Lol u could have just posted an rgb table instead
thx anyway
GenerateTexture is not one of the default functions is it? o_O and its also not in D3D starterkit by default if I remember correctly(havent touched the starterkit in ages since I wrote my own, less functional but still my own ;D)
Was just a example.
I don't use the starter kit either.
its better if u make your own u learn faster and welcome back HELL DADDY
well anyway float colors are better than rgb ones althought rgb is easier to create and key in
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us