@builtin("global_invocation_id")
내장 값
The current invocation's id across the entire compute dispatch.
- 쓰이는 곳
- 컴퓨트 입력
시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.
구문
@builtin("global_invocation_id"): vec3<u32>
예제
path/double-array/double-array.shade.tspath/image-blur/image-blur.shade.tspath/histogram/histogram.shade.tsgallery/array-length/array-length.shade.tsgallery/atomic-histogram/atomic-histogram.shade.tsgallery/compute-reduction-twin/compute-reduction-twin.shade.tsgallery/compute-sync/compute-sync.shade.tsgallery/gpu-console/gpu-console.shade.tsgallery/particle-step/particle-step.shade.tsgallery/storage-texture/storage-texture.shade.tsgallery/subgroup-reduce/subgroup-reduce.shade.tsgallery/workgroup-override/workgroup-override.shade.tsgallery/workgroup-reduce/workgroup-reduce.shade.tsgallery/workgroup-scratch/workgroup-scratch.shade.tsgallery/workgroup-tile-2d/workgroup-tile-2d.shade.ts