Techniques and Passes
Microsoft DirectX 9.0 SDK Update (October 2004)

Techniques and Passes


Techniques provide the rendering muscle. A technique encapsulates the effect state that determines a rendering style. A technique is made up of one or more passes.

Techniques

The syntax for calling a technique is as follows:

technique [ id ]  [< annotation(s) >] 
    { pass(es) }
Where:

Passes

A pass contains the state assignments required to render.

pass  [ id ]  [< annotation(s) >] 
    { state assignment(s) }
Where:

Passes ignore all but the last assignment in a set of repeated assignments to the same state.



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