Microsoft DirectX 9.0

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.


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


A pass contains the state assignments required to render.

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

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

© 2002 Microsoft Corporation. All rights reserved.