?/TD>
Microsoft DirectX 9.0

D3DTEXTURETRANSFORMFLAGS Enumerated Type


Defines texture-stage state values.

Syntax

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.

Enumerated Type Information

Headerd3d9types.h
Minimum operating systems Windows 98

See Also

D3DTEXTURESTAGESTATETYPE


© 2002 Microsoft Corporation. All rights reserved.