@builtin("instance_index")
Builtin value
The index of the current instance within its draw call.
- Valid in
- vertex input
The signature, the sentence and any message are the compiler's own text at commit af54ddad5.
Syntax
@builtin("instance_index"): u32