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

@builtin("position")

내장 값

The vertex's clip-space position (vertex output) or the fragment's window-space position (fragment input).

쓰이는 곳
버텍스 출력, 프래그먼트 입력

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

구문

@builtin("position"): vec4<f32>

예제

함께 보기

이 페이지 편집 문제 보고