Skip to main content

repack_depth_rows

Function repack_depth_rows 

Source
pub fn repack_depth_rows(
    src_padded: &[u8],
    dst: &mut [f32],
    width: u32,
    height: u32,
    padded_row_pitch: u32,
    options: DepthReadbackOptions,
)
Expand description

Repacks 256-byte padded Depth32Float GPU rows into tightly packed f32 slices with optional Y-flip.