You are on page 1of 1

// Control

D3DTOP_DISABLE = 1, // disables stage


D3DTOP_SELECTARG1 = 2, // the default
D3DTOP_SELECTARG2 = 3, // the default
// Modulate
D3DTOP_MODULATE = 4, // multiply args together
D3DTOP_MODULATE2X = 5, // multiply and 1 bit
D3DTOP_MODULATE4X = 6, // multiply and 2 bits
// Add
D3DTOP_ADD = 7, // add arguments together
D3DTOP_ADDSIGNED = 8, // add with -0.5 bias
D3DTOP_ADDSIGNED2X = 9, // as above but left 1 bit
D3DTOP_SUBTRACT = 10, // Arg1 - Arg2, with no saturation
D3DTOP_ADDSMOOTH = 11, // add 2 args, subtract product
// Arg1 + Arg2 - Arg1*Arg2
// = Arg1 + (1-Arg1)*Arg2

There are currently 5 type of image attachment.


0: 360 Frame, action [0.0 - 1.0]
1: 120 Frame, Rotating animation, UV[0 - 360]
2: 360 Frame, Offset motion + rotating motion
3: 720 Frame, Rotating animation
4: 120 Frame, Movement screen

You might also like