Struct Color
A color struct
As of right now, only works with additive RGBA, but may work with other formats later
Additive RGBA is where the color is stored as an addition of red, green, and blue
Alpha is the transparency of the color
Fields
Name | Type | Description |
a
|
ubyte | Alpha value or transparency for the color
|
b
|
ubyte | Blue value for the color
|
g
|
ubyte | Green value for the color
|
r
|
ubyte | Red value for the color
|
Properties
Name | Type | Description |
handle [get]
|
derelict.sdl2.internal.sdl_types.SDL_Color* | Gets the color as an SDL_Color
|