RGBA |
Top Previous Next |
Syntax:
Return = RGBA(int r, int g, int b, int a)
Purpose: Creates a 32 bit color value used by Direct3D
Parameters: r, g, b, a - The red, green, blue and alpha components.
Returned value: The 32 bit color value
Application: s.Clear(RGBA(255,0,255,255))
Additional Info: For most Direct3D applications the alpha component is significant where 0 is fully transparent and 255 is fully opaque. |