tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
rgba
tida
color
Creates an RGBA color.
Color
!
ubyte
rgba
(ubyte[] data)
Color
!
ubyte
rgba
(ubyte red, ubyte green, ubyte blue, ubyte alpha)
@
safe
nothrow pure
Color
!ubyte
rgba
(
ubyte
red
,
ubyte
green
,
ubyte
blue
,
ubyte
alpha
)
Parameters
red
ubyte
Red.
green
ubyte
Green.
blue
ubyte
Blue.
alpha
ubyte
Alpha.
Return Value
Type:
Color
!ubyte
RGBA
Meta
Source
See Implementation
tida
color
aliases
BlendAdd
BlendAddAlpha
BlendAddMul
BlendAlpha
BlendMultiply
BlendSrc2DST
FuncBlend
mix
enums
BlendFactor
PixelFormat
functions
BlendFunc
BlendImpl
convert
fromColor
fromColors
fromFormat
hexTo
parseColor
rgb
rgba
validateBytes
manifest constants
CannotDetectAuto
structs
Color
templates
bytesPerColor
isColor
isValidFormat
Creates an RGBA color.