Get a variable by index.
- Index [in]
A zero-based index.
A pointer to a 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 any local non-static effect variable using its name or with an index.