Writepixel Command

Blitz3D Forums/Blitz3D Beginners Area/Writepixel Command

PaulJG(Posted 2004) [#1]
argb - argb colour value of pixel (alpha, red, green, blue)

So how does this work then ?

Lets say I dont want any alpha, but just a bright red pixel.
What do I have to do to combine all 4 componant values into the 1 value ?


Rob Farley(Posted 2004) [#2]
http://www.blitzbasic.com/codearcs/codearcs.php?code=551


Graythe(Posted 2004) [#3]
Hi - it's in the archives -
http://www.blitzbasic.com/codearcs/codearcs.php?code=346


PaulJG(Posted 2004) [#4]
Would have been much more friendly-er if you could just put the values into the command. ;)

Thank gawd for your little conversion proggies.