Function spirv_std::float::vec4_to_u8x4_unorm

source ·
pub fn vec4_to_u8x4_unorm(vec: impl Vector<f32, 4>) -> u32
Expand description

Packs a vec4 into 4 8-bit unsigned integers. See PackUnorm4x8 for exact semantics.