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

◆ can_write()

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

Check whether this writer handles the given filepath.

Implements MayaFlux::IO::ModelWriter.

Definition at line 85 of file AssimpModelWriter.cpp.

86{
87 const auto ext = extension_of(filepath);
88 const auto supported = get_supported_extensions();
89 return std::ranges::find(supported, ext) != supported.end();
90}
std::vector< std::string > get_supported_extensions() const override
File extensions handled by this writer (without dot).

References get_supported_extensions().

Referenced by ~AssimpModelWriter().

Here is the call graph for this function:
Here is the caller graph for this function: