ae v0.0.2883 (2020-12-20T10:26:29Z)
Home
Dub
Repo
ChangeChannelType
ae
utils
graphics
color
Resolves to a Color instance with a different ChannelType.
template
ChangeChannelType
(COLOR, T)
template
ChangeChannelType (
COLOR
T
)
if
(
isNumeric
!
COLOR
) {
alias
ChangeChannelType
=
T
;
}
template
ChangeChannelType
(COLOR, T)
Members
Aliases
ChangeChannelType
alias
ChangeChannelType
=
T
Undocumented in source.
Meta
Source
See Implementation
ae
utils
graphics
color
aliases
BGR
BGRA
BGRX
ExpandChannelType
L16
L8
LA
LA16
OneBitStorageBE
OneBitStorageLE
PlainStorageUnit
RGB
RGB16
RGBA
RGBA16
RGBX
RGBX16
RGBd
RGBf
S16
S8
StorageColor
functions
blend
solidStorageUnit
structs
BitStorageUnit
Color
Gradient
templates
ChangeChannelType
ChannelType
ExpandIntegerType
variables
isStorageColorLValue
storageColorBits
Resolves to a Color instance with a different ChannelType.