Microsoft DirectX 8.0 (Visual Basic)

Color and Alpha Blending Instructions

This section contains reference information for the color and alpha blending instructions implemented by the Direct3DX pixel shader assembler.

The color and alpha blending instructions are listed in the following table. All of these operations are performed component-wise.

Instruction Description
add Add
cnd Conditional
dp3 Three-Component Vector Dot-Product
lrp Linear Interpolation Blend
mad Multiply and Add
mov Copy Source Into Destination
mul Modulate
sub Loads the difference of the two colors in the source operands.