MCPcopy Create free account
hub / github.com/assimp/assimp / GetExportFormatDescription

Method GetExportFormatDescription

code/Common/Exporter.cpp:546–558  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

544
545// ------------------------------------------------------------------------------------------------
546const aiExportFormatDesc* Exporter::GetExportFormatDescription( size_t index ) const {
547 ai_assert(nullptr != pimpl);
548 if (index >= GetExportFormatCount()) {
549 return nullptr;
550 }
551
552 // Return from static storage if the requested index is built-in.
553 if (index < pimpl->mExporters.size()) {
554 return &pimpl->mExporters[index].mDescription;
555 }
556
557 return &pimpl->mExporters[index].mDescription;
558}
559
560// ------------------------------------------------------------------------------------------------
561aiReturn Exporter::RegisterExporter(const ExportFormatEntry& desc) {

Callers 8

GetMatchingFormatFunction · 0.80
Assimp_ExportFunction · 0.80
mainFunction · 0.80
PopulateExportMenuFunction · 0.80
DoExportFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected