# Class: texcombcolor

The texcombiner for rgb values. The functions return a texcombiner or overwrite the combiner with same name. They may return an error when a conflict with default names exists.

## Hierarchy

    o-+ renderinterface
      o-+ texcombiner
        o-+ texcombcolor

## Methods:

### Method overview:

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

add (string name)
  returns: ([texcombcolor])
  OUT = arg0 + arg1
addsigned (string name)
  returns: ([texcombcolor])
  OUT = arg0 + arg1 - 0.5
combine4 (string name)
  returns: ([texcombcolor])
  OUT = arg0*arg1 + arg2*arg3. You should query for capability.
combine4signed (string name)
  returns: ([texcombcolor])
  OUT = arg0*arg1 + arg2*arg3 - 0.5 You should query for capability.
dot3 (string name)
  returns: ([texcombcolor])
  OUT = arg0 dotproduct arg1. (args as signed vector -1,+1). You should query for capability
dot3alpha (string name)
  returns: ([texcombcolor])
  OUT = arg0 dotproduct arg1. (args as signed vector -1,+1). Also sets alpha. You should query for capability
interpolate (string name)
  returns: ([texcombcolor])
  OUT = arg0 * arg2 + arg1 * (1-arg2)
modadd (string name)
  returns: ([texcombcolor])
  OUT = arg0 * arg2 + arg1. You should query for capability.
modaddsigned (string name)
  returns: ([texcombcolor])
  OUT = arg0 * arg2 + arg1 - 0.5. You should query for capability.
modulate (string name)
  returns: ([texcombcolor])
  OUT = arg0 * arg1
replace (string name)
  returns: ([texcombcolor])
  OUT = arg0
setarg (texcombcolor,int arg,texcombsrc,texcombop)
  returns: ()
  sets argument of the function. Check the function descriptor for which arg index does what.
subtract (string name)
  returns: ([texcombcolor])
  OUT = arg0 - arg1. You should query for capability. When used modadd/combine4 for alpha at the same time is not allowed for cards with combine4 support
test (texcombcolor)
  returns: ([string])
  tests the combiner (binds it). Returns GL Error string (might have other errors not bound to this problem)

## Inherited Methods: