pub fn write_texture(texture: &Texture) -> Result<Vec<u8>>
Serialize a new or edited DXT without recompressing original payloads.