Login Register
Frontpage Code library Pastebin

RGBA -> Pikseliarvo

Author: VesQ
Added: 24.5.2012 23:33
Edited: 24.5.2012 23:33
Category: Grafiikka

Description

Palauttaa kokonaisluvun annetuista värikomponenteista

Code

Select all
1
2
3
Function GetARGB(alpha, _r, _g, _b)
   Return (alpha Shl 24) + (_r Shl 16) + (_g Shl 8) + _b
EndFunction

Comments

No comments. You can be first!

Leave a comment

You must be logged in to comment.