Skip to main content

decode_bc6h_signed

Function decode_bc6h_signed 

Source
pub fn decode_bc6h_signed(
    data: &[u8],
    width: i32,
    height: i32,
    meter: &Arc<Meter>,
) -> Result<Image, DecodeError>
Expand description

Decode signed BC6H with the same bounds, metering, crop and flip as decode. Unity’s TextureFormat::BC6H selects unsigned decoding; this entry point supports the specification’s signed encoding.