Share via


D3DTEXTURETRANSFORMFLAGS

This enumeration defines texture-stage state values.

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;

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.
  • D3DTTFF_FORCE_DWORD
    Forces this enumeration to compile to 32 bits in size. This value is not used.

Remarks

These flags are used to set the value of the D3DTSS_TEXTURETRANSFORMFLAGS texture stage state for the D3DTEXTURESTAGESTATETYPE enumerated type.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8types.h.

See Also

D3DTEXTURESTAGESTATETYPE

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.