# 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

## Interfaces:

- hashid

## Methods:

### Method overview:

- add
- amodadd
- decal
- disable
- modulate
- 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
replace ()
  returns: (blendmode)
  out = self

## Inherited Methods: