Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ScriptedUiPrewarmRequest Struct Reference

#include <scripted_ui_prewarm.hpp>

Public Attributes

std::vector< std::string > scripts
 Scripts the editor loads through WidgetBridge::load_script() (a ScriptedUiSession's script file, a design or help script the processor loads after the mount), byte-identical to the text it passes there; the prewarm compiles WidgetBridge::loaded_script_source() of each, which is what load_script() evaluates.
std::vector< std::string > materialized_documents
 Inputs the editor passes to __pulpRuntimeImport__(text, 'materialized-browser'), byte-identical.

Member Data Documentation

◆ materialized_documents

std::vector<std::string> pulp::view::ScriptedUiPrewarmRequest::materialized_documents

Inputs the editor passes to __pulpRuntimeImport__(text, 'materialized-browser'), byte-identical.

Each is decoded and verified into the materialized document cache, and its payload and inline scripts are compiled.

◆ scripts

std::vector<std::string> pulp::view::ScriptedUiPrewarmRequest::scripts

Scripts the editor loads through WidgetBridge::load_script() (a ScriptedUiSession's script file, a design or help script the processor loads after the mount), byte-identical to the text it passes there; the prewarm compiles WidgetBridge::loaded_script_source() of each, which is what load_script() evaluates.

Sources under the bytecode cache's size floor are ignored.


The documentation for this struct was generated from the following file: