# Class: texcombalpha

The texcombiner for alpha values. Make sure that texcombop are only ALPHA values.

## Hierarchy

    o-+ renderinterface
      o-+ texcombiner
        o-+ texcombalpha

## Methods:

### Method overview:

- add
- addsigned
- combine4
- combine4signed
- interpolate
- modadd
- modaddsigned
- modulate
- replace
- setarg
- subtract
- test

add (string name)
  returns: ([texcombalpha])
  OUT = arg0 + arg1
addsigned (string name)
  returns: ([texcombalpha])
  OUT = arg0 + arg1 - 0.5
combine4 (string name)
  returns: ([texcombalpha])
  OUT = arg0*arg1 + arg2*arg3. You should query for capability. Color mode must be combine4/modadd at the same time
combine4signed (string name)
  returns: ([texcombalpha])
  OUT = arg0*arg1 + arg2*arg3 - 0.5 You should query for capability. Color mode must be combine4/modadd at the same time
interpolate (string name)
  returns: ([texcombalpha])
  OUT = arg0 * arg2 + arg1 * (1-arg2)
modadd (string name)
  returns: ([texcombalpha])
  OUT = arg0 * arg2 + arg1. You should query for capability. When used color mode must be modadd/combine4 for cards with combine4 support as well.
modaddsigned (string name)
  returns: ([texcombalpha])
  OUT = arg0 * arg2 + arg1 - 0.5. You should query for capability. When used color mode must be modadd/combine4 for cards with combine4 support as well.
modulate (string name)
  returns: ([texcombalpha])
  OUT = arg0 * arg1
replace (string name)
  returns: ([texcombalpha])
  OUT = arg0
setarg (texcombalpha,int arg,texcombsrc,texcombop)
  returns: ()
  sets argument of the function. Check the function descriptor for which arg index does what. Make sure operand is always alpha or invalpha.
subtract (string name)
  returns: ([texcombalpha])
  OUT = arg0 - arg1. You should query for capability. When used modadd/combine4 for color at the same time is not allowed for cards with combine4 support
test (texcombalpha)
  returns: ([string])
  tests the combiner (binds it). Returns GL Error string (might have other errors not bound to this problem)

## Inherited Methods: