Microsoft DirectX 8.1 (Visual Basic)

CONST_D3DTEXTURETRANSFORMFLAGS

Defines texture-stage state values.

Enum CONST_D3DTEXTURETRANSFORMFLAGS
    D3DTTFF_DISABLE   =   0
    D3DTTFF_COUNT1    =   1
    D3DTTFF_COUNT2    =   2
    D3DTTFF_COUNT3    =   3
    D3DTTFF_COUNT4    =   4
    D3DTTFF_PROJECTED = 256 (&H100)
End Enum

Constants

D3DTTFF_DISABLE
Texture coordinates are passed directly to the rasterizer.
D3DTTFF_COUNT1
The rasterizer should expect 1-D texture coordinates.
D3DTTFF_COUNT2
The rasterizer should expect 2-D texture coordinates.
D3DTTFF_COUNT3
The rasterizer should expect 3-D texture coordinates.
D3DTTFF_COUNT4
The rasterizer should expect 4-D texture coordinates.
D3DTTFF_PROJECTED
The texture coordinates are all divided by the last element before being passed to the rasterizer. For example, if this flag is specified with the D3DTTFF_COUNT3 flag, the first and second texture coordinates is divided by the third coordinate before being passed to the rasterizer.

Remarks

These flags are used to set the value of the D3DTSS_TEXTURETRANSFORMFLAGS texture stage state for the CONST_D3DTEXTURESTAGESTATETYPE enumeration.

See Also

CONST_D3DTEXTURESTAGESTATETYPE