Skip to main content

global_thread_id

Function global_thread_id 

Source
pub fn global_thread_id() -> i32
Expand description

Get the global thread ID (x-component). Maps to global_invocation_id.x in WGSL.