Function re_renderer::pad_rgb_to_rgba
source · pub fn pad_rgb_to_rgba<T: Copy>(rgb: &[T], alpha: T) -> Vec<T>
Expand description
Pad RGB
to RGBA
with the given alpha.
pub fn pad_rgb_to_rgba<T: Copy>(rgb: &[T], alpha: T) -> Vec<T>
Pad RGB
to RGBA
with the given alpha.