MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ format_id

std::string MayaFlux::IO::ModelWriteOptions::format_id

Assimp export format id, e.g.

"gltf2", "objnomtl", "collada", "stl", "fbx", "fbxa".

File extension alone is ambiguous for several formats Assimp exports: OBJ with or without a sidecar .mtl, FBX binary vs. ASCII both use ".fbx". Empty (the default) derives a format id from the extension via a small, deliberately short allow-list; see AssimpModelWriter's own doc for exactly which extensions resolve on their own and which require this to be set explicitly.

Definition at line 26 of file ModelWriter.hpp.

Referenced by MayaFlux::IO::AssimpModelWriter::write().