Wwise SDK 2021.1.9
|using||GluedInterface = CInterface|
|static GluedInterface *||g_cinterface = nullptr|
|The unique instance of the CInterface interface. Defined at nullptr first, overridden by the Host once loaded. More...
class AK.Wwise::Plugin::CBaseInterfaceGlue< CInterface >
PluginInfoGenerator: For each plug-in interface type, provides a single static instance used throughout this plug-in container.
This uses a C++ template principle where you can define a static variable inside a templated class, and you can have the compiler generate one unique static instance for each individual templated class.
Also, having a class outer shell means the static member can reside in a header and be instantiated in that same header without the linker refusing multiple definitions.
- Template Parameters
CInterface Which interface (In C)