- add mFileExtensions field to aiImporterDesc, BaseImporter::GetExtensionList is now longer virtual since this would be redundant.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1234 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -117,6 +117,20 @@ struct aiImporterDesc
|
||||
maximum version.*/
|
||||
unsigned int mMaxMajor;
|
||||
unsigned int mMaxMinor;
|
||||
|
||||
/** List of file extensions this importer can handle.
|
||||
List entries are separated by space characters.
|
||||
All entries are lower case without a leading dot (i.e.
|
||||
"xml dae" would be a valid value. Note that multiple
|
||||
importers may respond to the same file extension -
|
||||
assimp calls all importers in the order in which they
|
||||
are registered and each importer gets the opportunity
|
||||
to load the file until one importer "claims" the file. Apart
|
||||
from file extension checks, importers typically use
|
||||
other methods to quickly reject files (i.e. magic
|
||||
words) so this does not mean that common or generic
|
||||
file extensions such as XML would be tediously slow. */
|
||||
const char* mFileExtensions;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user