pack4xI8
함수
Packs the low byte of each component of a vec4i into a u32, four bytes in a word.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function pack4xI8(a0: vec4i): u32declare function pack4xI8(e: vec4i): u32매개변수
-
evec4i
반환값
설명
The result is unsigned even though the components are not; a component that does not fit is TRUNCATED, where pack4xI8Clamp saturates. WebGPU-only.
대상별 출력
- WGSL
-
pack4xI8(a) - GLSL ES 3.00
- pack4xI8 has no GLSL ES 3.00 form