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

@builtin("primitive_index")

내장 값

The index of the primitive the current fragment belongs to.

쓰이는 곳
프래그먼트 입력

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

구문

@builtin("primitive_index"): u32

설명

Needs enable primitive_index;, which the use derives.

함께 보기

이 페이지 편집 문제 보고