# Class: blendmode

They define how texels or pixels are blend with the destination. Sometimes you might be able to use inverte d blends, those just invert the self.alpha value

## Hierarchy

    o-+ renderinterface
      o-+ blendmode

## Methods:

### Method overview:

- add
- amodadd
- decal
- disable
- modulate
- modulate2
- replace

add ()
  returns: (blendmode)
  out = destination + self
amodadd ()
  returns: (blendmode)
  out = destination + self * self.alpha
decal ()
  returns: (blendmode)
  out = destination * (1-self.alpha) + self * (self.alpha)
disable ()
  returns: (blendmode)
  removes setting the blendmode, warning if rfBlend is still true you will get undefined behavior
modulate ()
  returns: (blendmode)
  out = destination*self
modulate2 ()
  returns: (blendmode)
  out = destination*self*2. Allows self to brigthen (>0.5) or darken (<0.5) at the same time.
replace ()
  returns: (blendmode)
  out = self

## Inherited Methods: