------------------------------------------------------------------------------------------------ Get the memory requirements for a particular import.
| 510 | // ------------------------------------------------------------------------------------------------ |
| 511 | // Get the memory requirements for a particular import. |
| 512 | void aiGetMemoryRequirements(const C_STRUCT aiScene *pIn, |
| 513 | C_STRUCT aiMemoryInfo *in) { |
| 514 | ASSIMP_BEGIN_EXCEPTION_REGION(); |
| 515 | |
| 516 | // find the importer associated with this data |
| 517 | const ScenePrivateData *priv = ScenePriv(pIn); |
| 518 | if (!priv || !priv->mOrigImporter) { |
| 519 | ReportSceneNotFoundError(); |
| 520 | return; |
| 521 | } |
| 522 | |
| 523 | return priv->mOrigImporter->GetMemoryRequirements(*in); |
| 524 | ASSIMP_END_EXCEPTION_REGION(void); |
| 525 | } |
| 526 | |
| 527 | // ------------------------------------------------------------------------------------------------ |
| 528 | ASSIMP_API const C_STRUCT aiTexture *aiGetEmbeddedTexture(const C_STRUCT aiScene *pIn, const char *filename) { |
nothing calls this directly
no test coverage detected