MarijnStevens

After I use GetData<uint> I have an array with uints, but, for example, I want to make a blur function, how can I read the uint to a color


Re: Game Technologies: Graphics From Uint to color.

qrli

If you're using XNA
Color c = new Color();
c.PackedValue = uintValue;

Or you can simply use GetData<Color>().

If you're using MDX 2, hmm, it already expired.