ae v0.0.2177 (2018-04-10T20:33:51Z)
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)
template
ChangeChannelType (
COLOR
T
)
if
(
is
(
COLOR
:
Color
!
Spec
,
Spec
...
)
) {
alias
ChangeChannelType
=
Color
!(
T
,
COLOR
.
Spec
[
1
..$])
;
}
Members
Aliases
ChangeChannelType
alias
ChangeChannelType
=
Color
!(
T
,
COLOR
.
Spec
[
1
..$])
Undocumented in source.
Meta
Source
See Implementation
ae
utils
graphics
color
aliases
BGR
BGRA
BGRX
ExpandChannelType
L16
L8
LA
LA16
RGB
RGB16
RGBA
RGBA16
RGBX
RGBX16
RGBd
RGBf
S16
S8
functions
blend
structs
Color
Gradient
templates
ChangeChannelType
ChannelType
ExpandIntegerType
Resolves to a Color instance with a different ChannelType.