Packs a Uint24, representing RGB components, with a Float32, representing the alpha component, with a range between 0.0 and 1.0 and return a swizzled Uint32
name | type | description |
---|---|---|
rgb | number |
Uint24 representing RGB components |
a | number |
Float32 representing Alpha component |
Packed RGBA as Uint32