Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend > API/Plugins/MetasoundFrontend/IDocumentBuilderRegistry
Description
Given the provided builder, removes paged data within the associated document for a cooked build. This function removes graphs and input defaults which are not to ever be used by a given cook platform, allowing users to optimize away data and scale the amount of memory required for initial load of input UObjects and graph topology, which can also positively effect runtime performance as well, etc. Returns true if builder modified the document, false if not.
| Name | CookPages |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundDocumentInterface.h |
| Include Path | #include "MetasoundDocumentInterface.h" |
bool CookPages
(
FName CookPlatformName,
FMetaSoundFrontendDocumentBuilder & Builder
) const