Version

menu_open
Wwise SDK 2021.1.14

◆ Instantiate()

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

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.

Warning
This function is not reentrant. See g_instance and m_interfaceArray for more information.
Parameters
in_pluginInfo Plug-in structure to instantiate.
Returns
InterfaceArrayItem* The new instance: A copy of the structure, containing the instantiated pointers.

Definition at line 730 of file PluginInfoGenerator.h.

References AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::GenerateConstructorArray< in_interfaceType >::Constructor(), AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::g_instance, AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::k_interfaceCount, AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::m_interfaceArray, 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