D3DXTECHNIQUE_DESC
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXTECHNIQUE_DESC Structure


Describes a technique used by an effect.

Syntax

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

Members

Name
String that contains the technique name.
Passes
Number of rendering passes the technique requires. See Remarks.
Annotations
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.

Structure Information

Headerd3dx9effect.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.