pub fn decode_into(format: HeightmapFormat, rgb: &[u8], out: &mut [f32])Expand description
Decode RGB bytes into a caller-owned f32 buffer.
rgb.len() must equal out.len() * 3. No allocation occurs.
pub fn decode_into(format: HeightmapFormat, rgb: &[u8], out: &mut [f32])Decode RGB bytes into a caller-owned f32 buffer.
rgb.len() must equal out.len() * 3. No allocation occurs.