Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the index of the current lane within the current wave.
Syntax
uint WaveGetLaneIndex(void);
Parameters
This function has no parameters.
Return value
The current lane index. The result will be between 0 and the result returned from WaveGetLaneCount.
Remarks
This function is supported from shader model 6.0 in all shader stages.
See also