MCPcopy Create free account
hub / github.com/carbonengine/trinity / Accumulate

Function Accumulate

trinity/PostProcess/Tr2PostProcessAttributes.cpp:79–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78template <typename T, typename Accumulator = typename DefaultAccumulator<T>::Type>
79typename Accumulator::ResultType Accumulate( PriorityBlend::Attribute<T> Tr2PostProcessAttributes::* attr, const std::vector<Tr2PostProcessAttributes*>& sources, AttributesDebugObserver<Tr2PostProcessAttributes>* observer, Accumulator accumulator = {} )
80{
81 return PriorityBlend::Accumulate( attr, sources, observer, GetAttributeName( attr ), accumulator );
82}
83
84}
85

Callers 1

MergeIntoMethod · 0.70

Calls 1

GetAttributeNameFunction · 0.85

Tested by

no test coverage detected