DirectX Macro Question

Started by
0 comments, last by revans 24 years ago
Using Direct3D in VC++ you have a few macros for working with color. Examples D3DRGB() & D3DRGBA(). Is there a method in the VB side of things to handle this functionality. Thanks
Advertisement
Gday,

Use the Directx7 object and call

dx.CreateColourRGB or dx.CreateColourRGBA

passing down values as single in the range 0 to 1 for each argument

Brett

This topic is closed to new replies.

Advertisement