Auf Englisch lesen

Freigeben über


WaveGetLaneIndex function

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 the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x

 

See also

Overview of Shader Model 6

Shader Model 6