?/TD>
Microsoft DirectX 9.0

Parameters


Parameters are effect variables.

Syntax

usage  type  id  [: semantic]  [< annotation(s) >]  [= expression];

Parameters can be read from and written to by the application with ID3DXEffect or ID3DXEffectCompiler.

Parameters can be referenced in functions and in techniques (specifically, in the right side of state assignments).

Parameters can be initialized to any valid High-Level Shader Language expression that reduces to a literal value.

Parameter values are not changed by the execution of state assignment or function calls.



© 2002 Microsoft Corporation. All rights reserved.