pack4xI8Clamp
함수
Packs a vec4i into a u32 as four bytes, clamping each component into [-128, 127] first.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function pack4xI8Clamp(a0: vec4i): u32declare function pack4xI8Clamp(e: vec4i): u32매개변수
-
evec4i
반환값
설명
The result is unsigned because it is a word of bytes, not a number with a sign. WebGPU-only.
대상별 출력
- WGSL
-
pack4xI8Clamp(a) - GLSL ES 3.00
- pack4xI8Clamp has no GLSL ES 3.00 form