D3DXTECHNIQUE_DESC structure

Describes a technique used by an effect.

Syntax

typedef struct D3DXTECHNIQUE_DESC {
  LPCSTR Name;
  UINT   Passes;
  UINT   Annotations;
} D3DXTECHNIQUE_DESC, *LPD3DXTECHNIQUE_DESC;

Members

Name

Type: LPCSTR

String that contains the technique name.

Passes

Type: UINT

Number of rendering passes the technique requires. See Remarks.

Annotations

Type: UINT

The number of annotations. See Add Information to Effect Parameters with_Annotations.

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

Requirement Value
Header
D3dx9effect.h

See also

Effect Structures