Function re_viewer_context::gpu_bridge::image_to_gpu::pad_and_cast
source · fn pad_and_cast<T: Copy + Pod>(data: &[T], pad: T) -> Cow<'static, [u8]>
Expand description
Pad an RGB image to RGBA and cast the results to bytes.