Skip to main content

answer

Function answer 

Source
pub fn answer(
    t: &Texture,
    platform: i32,
    allowed: Formats,
    unity_version: (u16, u16),
) -> Result<Format, Class>
Expand description

Section 3’s answers 1 to 3 for t on platform, exporting the formats of allowed (the spec’s, docs/BATCH_SPEC.md 1.5): its format, or the skip. A format outside i32 is unsupported_format(<decimal>); a Switch blob is read as bytes (Blob, BLOB_ELEMENT).