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

struct Color ;

Fields

NameTypeDescription
a ubyteAlpha value or transparency for the color
b ubyteBlue value for the color
g ubyteGreen value for the color
r ubyteRed value for the color

Properties

NameTypeDescription
handle[get] derelict.sdl2.internal.sdl_types.SDL_Color*Gets the color as an SDL_Color