unpack4xU8
함수
Unpacks the four bytes of a u32 into a vec4u, the low byte into component 0.
이름마다 붙은 시그니처와 설명은 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
declare function unpack4xU8(a0: u32): vec4udeclare function unpack4xU8(e: u32): vec4u매개변수
-
eu32
반환값
설명
The inverse of pack4xU8. WebGPU-only.
대상별 출력
- WGSL
-
unpack4xU8(a) - GLSL ES 3.00
- unpack4xU8 has no GLSL ES 3.00 form