◆ Instantiate()

template<typename PluginT >
static InterfaceArrayItem* AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::Instantiate ( PluginInfo in_pluginInfo)

Plug-in instance constructor, as shared with the host.

It is currently assumed the in_pluginInfo parameter, as passed, is the same as the one provided in the ak_wwise_plugin_container structure. As such, in the current version of the SDK, this is not reentrant, as there is only one structure used to transfer data.

This function is not reentrant. See m_interfaceArray for more information.
in_pluginInfoPlug-in structure to instantiate.
InterfaceArrayItem* The new instance: A copy of the structure, containing the instantiated pointers.

Definition at line 716 of file PluginInfoGenerator.h.

References AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::GenerateConstructorArray< in_interfaceType >::Constructor(), AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::k_interfaceCount, ak_wwise_plugin_info::m_interfaces, and AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::GenerateConstructorArray< in_interfaceType >::UpdateCInterface().

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise