use fastpack_core::types::atlas::PackedAtlas;
use crate::error::FormatError;
pub struct ExportInput<'a> {
pub atlas: &'a PackedAtlas,
pub texture_filename: String,
pub pixel_format: String,
}
pub trait Exporter: Send + Sync {
fn export(&self, input: &ExportInput<'_>) -> Result<String, FormatError>;
fn format_id(&self) -> &'static str;
fn file_extension(&self) -> &'static str;
fn combine(&self, inputs: &[ExportInput<'_>]) -> Option<Result<String, FormatError>> {
let _ = inputs;
None
}
}