ae v0.0.1894 (2017-02-27T08:30:32Z)
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
templates
ChangeChannelType
ChannelType
ExpandIntegerType
Resolves to a Color instance with a different ChannelType.