------------------------------------------------------------------------------------------------
| 544 | |
| 545 | // ------------------------------------------------------------------------------------------------ |
| 546 | const 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 | // ------------------------------------------------------------------------------------------------ |
| 561 | aiReturn Exporter::RegisterExporter(const ExportFormatEntry& desc) { |
no test coverage detected