Version

menu_open
Wwise SDK 2021.1.14

◆ g_instance

template<typename PluginT >
PluginInfoGenerator< PluginT > * AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::g_instance = nullptr
static

The unique generator instance for this particular plug-in.

This is used to link the generator to the instantiate function, as defined statically.

It is known there is only one bridging interface between the C interface of the plug-in and the host, which means it's effectively limited to instantiating one instance at a time, where the host pre-fills its instance data, calls the Instantiate function, and then retrieves the new instance, as provided by the plug-in.

As such, this unique g_instance to do instantiation is not a new requirement, but merely an acknowledgement the Instantiate function is not reentrant.

Definition at line 706 of file PluginInfoGenerator.h.

Referenced by AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::Instantiate(), AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::PluginInfoGenerator(), and AK.Wwise::Plugin::PluginInfoGenerator< PluginT >::~PluginInfoGenerator().


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise