ae v0.0.3141 (2022-02-14T00:51:10Z)
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
blend
functions
_blend
solidStorageUnit
structs
BitStorageUnit
Color
Gradient
templates
ChangeChannelType
ChannelType
ExpandIntegerType
variables
isStorageColorLValue
storageColorBits
Resolves to a Color instance with a different ChannelType.