iRepeat
The current repetition number in a "_repeat" pass, or the current pass number in a multi-pass effect, starting with 0.
Type:
int, read-only
Example:
int iRepeat;
...
float fBloomOffset = 0.5 + 0.5*iRepeat;
See also:
MATERIAL, shaders, shader variables, passes ► latest version online