Microsoft DirectX 8.0 (C++)

D3DXTECHNIQUE_DESC

Describes a technique object.

typedef struct _D3DXTECHNIQUE_DESC
{
    DWORD Name;
    UINT  Passes;
} D3DXTECHNIQUE_DESC;

Members

Name
Four-character code used for the name of this technique object.
Passes
Number of rendering passes the technique requires. See Remarks.

Remarks

Some video cards can render two textures in a single pass. However, if a card does not have this capability, it is often possible to render the same effect in two passes using one texture for each pass.

A four-character code (FOURCC) is a string that is four characters in length. For more information, see Four-Character Codes (FOURCC).

Requirements

  Header: Declared in D3dx8effect.h.

See Also

ID3DXTechnique::GetDesc