Krita Source Code Documentation
Loading...
Searching...
No Matches
KoClampedSourceCompositeOpGenericFunctorBase< T > Struct Template Reference

#include <KoCompositeOpGenericFunctorBase.h>

+ Inheritance diagram for KoClampedSourceCompositeOpGenericFunctorBase< T >:

Static Public Member Functions

static T clampDestinationChannelValue (T value)
 
static T clampSourceChannelValue (T value)
 

Detailed Description

template<typename T>
struct KoClampedSourceCompositeOpGenericFunctorBase< T >

Definition at line 41 of file KoCompositeOpGenericFunctorBase.h.

Member Function Documentation

◆ clampDestinationChannelValue()

template<typename T >
static T KoClampedSourceCompositeOpGenericFunctorBase< T >::clampDestinationChannelValue ( T value)
inlinestatic

Definition at line 48 of file KoCompositeOpGenericFunctorBase.h.

48 {
49 return value;
50 }
float value(const T *src, size_t ch)

References value().

◆ clampSourceChannelValue()

template<typename T >
static T KoClampedSourceCompositeOpGenericFunctorBase< T >::clampSourceChannelValue ( T value)
inlinestatic

Definition at line 43 of file KoCompositeOpGenericFunctorBase.h.

43 {
44 using namespace Arithmetic;
46 }
T clampChannelToSDR(T a)

References value().


The documentation for this struct was generated from the following file: