DirectX SDK

D3DTEXTURETRANSFORMFLAGS

The D3DTEXTURETRANSFORMFLAGS enumerated type defines values used with the D3DTSS_TEXTURETRANSFORMFLAGS texture-stage state.

typedef enum _D3DTEXTURETRANSFORMFLAGS {
    D3DTTFF_DISABLE         = 0,   
    D3DTTFF_COUNT1          = 1,   
    D3DTTFF_COUNT2          = 2,   
    D3DTTFF_COUNT3          = 3,   
    D3DTTFF_COUNT4          = 4,   
    D3DTTFF_PROJECTED       = 256, 
    D3DTTFF_FORCE_DWORD     = 0x7fffffff, 
} D3DTEXTURETRANSFORMFLAGS;
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 will be divided by the third coordinate before being passed to the rasterizer.
D3DTTFF_FORCE_DWORD
Forces this enumeration to compile to 32 bits in size. This value is not used.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dtypes.h.

See Also

D3DTSS_TEXTURETRANSFORMFLAGS, Texture Coordinate Transformations