@builtin("primitive_index")
이 페이지에서

@builtin("primitive_index")

내장 값

The index of the primitive the current fragment belongs to.

이름마다 붙은 시그니처와 설명은 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.

구문

@builtin("primitive_index"): u32

설명

Needs enable primitive_index;, which the use derives.

함께 보기

이 페이지 편집 문제 보고