--- layout: stdlib-reference --- # packUnorm4x8 ## Description Convert a 4-component vector of normalized unsigned single/half-precision floating-point values to four 8-bit integer values, then pack these 8-bit values into a 32-bit unsigned integer. ## Signature
uint packUnorm4x8(vector<float, 4> unpackedValue); uint packUnorm4x8(vector<half, 4> unpackedValue);## Parameters #### unpackedValue : [vector](../types/vector/index.html)\