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

◆ can_write()

bool MayaFlux::IO::AssimpModelWriter::can_write ( const std::string &  filepath) const
overridevirtual

Check whether this writer handles the given filepath.

Implements MayaFlux::IO::ModelWriter.

Definition at line 95 of file AssimpModelWriter.cpp.

96{
97 const auto ext = extension_of(filepath);
98 const auto supported = get_supported_extensions();
99 return std::ranges::find(supported, ext) != supported.end();
100}
std::vector< std::string > get_supported_extensions() const override
File extensions handled by this writer (without dot).

References get_supported_extensions().

+ Here is the call graph for this function: