ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
Color.sum
ae
utils
graphics
color
Color
Sum of all channels
struct
Color
(FieldTuple...)
static if
(
is(ExpandIntegerType!(ChannelType, ilog2(nextPowerOfTwo(channels))))
)
ExpandIntegerType
!(
ChannelType
,
ilog2
(
nextPowerOfTwo
(
channels
)))
sum
(
)
Meta
Source
See Implementation
ae
utils
graphics
color
Color
aliases
ChannelType
Spec
homogenous
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogeneous
mixins
__anonymous
properties
max
min
static functions
blend
fromHex
itpl
monochrome
op
variables
black
white
Sum of all channels