Skip to main content

select_in

Function select_in 

Source
pub fn select_in(
    texture: &TextureFields<'_>,
    formats: Formats,
    unity_version: (u16, u16),
) -> Selection
Expand description

select() under the formats a spec names (docs/BATCH_SPEC.md 1.5): a format outside formats is unsupported_format, as one this crate does not decode is. Unity’s names in formats allow both DXT crunch variants: before Unity 2017.3 the decoder is legacy, from 2017.3 it is Unity’s fork. An unknown version (u16::MAX, u16::MAX) uses the fork. Crunched ETC always uses the fork (export/Texture2DConverter.py:297-306).