Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DTEXOPCAPSFLAGS

Defines texture-blending operation capabilities

Enum CONST_D3DTEXOPCAPSFLAGS
    D3DTEXOPCAPS_DISABLE                   =        1
    D3DTEXOPCAPS_SELECTARG1                =        2
    D3DTEXOPCAPS_SELECTARG2                =        4
    D3DTEXOPCAPS_MODULATE                  =        8
    D3DTEXOPCAPS_MODULATE2X                =       16 (&H10)
    D3DTEXOPCAPS_MODULATE4X                =       32 (&H20)
    D3DTEXOPCAPS_ADD                       =       64 (&H40)
    D3DTEXOPCAPS_ADDSIGNED                 =      128 (&H80)
    D3DTEXOPCAPS_ADDSIGNED2X               =      256 (&H100)
    D3DTEXOPCAPS_SUBTRACT                  =      512 (&H200)
    D3DTEXOPCAPS_ADDSMOOTH                 =     1024 (&H400)
    D3DTEXOPCAPS_BLENDDIFFUSEALPHA         =     2048 (&H800)
    D3DTEXOPCAPS_BLENDTEXTUREALPHA         =     4096 (&H1000)
    D3DTEXOPCAPS_BLENDFACTORALPHA          =     8192 (&H2000)
    D3DTEXOPCAPS_BLENDTEXTUREALPHAPM       =    16384 (&H4000)
    D3DTEXOPCAPS_BLENDCURRENTALPHA         =    32768 (&H8000)
    D3DTEXOPCAPS_PREMODULATE               =    65536 (&H10000)
    D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR    =   131072 (&H20000)
    D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA    =   262144 (&H40000)
    D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR =   524288 (&H80000)
    D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA =  1048576 (&H100000)
    D3DTEXOPCAPS_BUMPENVMAP                =  2097152 (&H200000)
    D3DTEXOPCAPS_BUMPENVMAPLUMINANCE       =  4194304 (&H400000)
    D3DTEXOPCAPS_DOTPRODUCT3               =  8388608 (&H800000)
    D3DTEXOPCAPS_MULTIPLYADD               = 16777216 (&H1000000)
    D3DTEXOPCAPS_LERP                      = 33554432 (&H2000000)
End Enum

Constants

D3DTEXOPCAPS_DISABLE
The D3DTOP_DISABLE texture-blending operation is supported.
D3DTEXOPCAPS_SELECTARG1
The D3DTOP_SELECTARG1 texture-blending operation is supported.
D3DTEXOPCAPS_SELECTARG2
The D3DTOP_SELECTARG2 texture-blending operation is supported.
D3DTEXOPCAPS_MODULATE
The D3DTOP_MODULATE texture-blending operation is supported.
D3DTEXOPCAPS_MODULATE2X
The D3DTOP_MODULATE2X texture-blending operation is supported.
D3DTEXOPCAPS_MODULATE4X
The D3DTOP_MODULATE4X texture-blending operation is supported.
D3DTEXOPCAPS_ADD
The D3DTOP_ADD texture-blending operation is supported.
D3DTEXOPCAPS_ADDSIGNED
The D3DTOP_ADDSIGNED texture-blending operation is supported.
D3DTEXOPCAPS_ADDSIGNED2X
The D3DTOP_ADDSIGNED2X texture-blending operation is supported.
D3DTEXOPCAPS_SUBTRACT
The D3DTOP_SUBTRACT texture-blending operation is supported.
D3DTEXOPCAPS_ADDSMOOTH
The D3DTOP_ADDSMOOTH texture-blending operation is supported.
D3DTEXOPCAPS_BLENDDIFFUSEALPHA
The D3DTOP_BLENDDIFFUSEALPHA texture-blending operation is supported.
D3DTEXOPCAPS_BLENDTEXTUREALPHA
The D3DTOP_BLENDTEXTUREALPHA texture-blending operation is supported.
D3DTEXOPCAPS_BLENDFACTORALPHA
The D3DTOP_BLENDFACTORALPHA texture-blending operation is supported.
D3DTEXOPCAPS_BLENDTEXTUREALPHAPM
The D3DTOP_BLENDTEXTUREALPHAPM texture-blending operation is supported.
D3DTEXOPCAPS_BLENDCURRENTALPHA
The D3DTOP_BLENDCURRENTALPHA texture-blending operation is supported.
D3DTEXOPCAPS_PREMODULATE
The D3DTOP_PREMODULATE texture-blending operation is supported.
D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR
The D3DTOP_MODULATEALPHA_ADDCOLOR texture-blending operation is supported.
D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA
The D3DTOP_MODULATECOLOR_ADDALPHA texture-blending operation is supported.
D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR
The D3DTOP_MODULATEINVALPHA_ADDCOLOR texture-blending operation is supported.
D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA
The D3DTOP_MODULATEINVCOLOR_ADDALPHA texture-blending operation is supported.
D3DTEXOPCAPS_BUMPENVMAP
The D3DTOP_BUMPENVMAP texture-blending operation is supported.
D3DTEXOPCAPS_BUMPENVMAPLUMINANCE
The D3DTOP_BUMPENVMAPLUMINANCE texture-blending operation is supported.
D3DTEXOPCAPS_DOTPRODUCT3
The D3DTOP_DOTPRODUCT3 texture-blending operation is supported.
D3DTEXOPCAPS_MULTIPLYADD
The D3DTOP_MULTIPLYADD texture-blending operation is supported.
D3DTEXOPCAPS_LERP
The D3DTOP_LERP texture-blending operation is supported.

Remarks

These flags may be combined and present in the TextureOpCaps member of D3DCAPS8.

For a definition of texture operations, see CONST_D3DTEXTUREOP.

See Also

D3DCAPS8, CONST_D3DTEXTUREOP