Get a variable by name.
- Name [in]
The variable name.
A pointer to an ID3D10EffectVariable Interface.
An effect may contain one or more variables. Variables outside of a technique are considered global to all effects, those located inside of a technique are local to that technique. You can access an effect variable using its name or with an index.