Skip to main content

thread_idx_x

Function thread_idx_x 

Source
pub fn thread_idx_x() -> i32
Expand description

Get the x-component of the local thread index within the workgroup. Maps to local_invocation_id.x in WGSL.