Microsoft DirectX 8.1 (C++)

D3DXTECHNIQUE_DESC

Describes a technique object.

typedef struct _D3DXTECHNIQUE_DESC
{
    LPCSTR Name;
    LPCSTR Index;
    UINT   Passes;
    
} D3DXTECHNIQUE_DESC;

Members

Name
A string value that represents the technique.
Index
A index value that represents the technique.
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.

Requirements

  Header: Declared in D3dx8effect.h.

See Also

ID3DXEffect::GetDesc