unpack4xU8
Function
Unpacks the four bytes of a u32 into a vec4u, the low byte into component 0.
The signature and the sentence under each name are the compiler's own text at commit 26de7be8.
Syntax
declare function unpack4xU8(a0: u32): vec4udeclare function unpack4xU8(e: u32): vec4uParameters
-
eu32
Return value
Description
The inverse of pack4xU8. WebGPU-only.
Targets
- WGSL
-
unpack4xU8(a) - GLSL ES 3.00
- unpack4xU8 has no GLSL ES 3.00 form