[詳解]
111 #define AK_WWISE_PLUGIN_LINK_BACKEND_ID() \
112 AK_WWISE_PLUGIN_BASE_INTERFACE_FROM_ID(AK_WWISE_PLUGIN_INTERFACE_TYPE_LINK_BACKEND, 1)
113 #define AK_WWISE_PLUGIN_LINK_BACKEND_CTOR( in_pluginInfo, in_data) \
115 .m_baseInterface = AK_WWISE_PLUGIN_BASE_INTERFACE_CTOR(AK_WWISE_PLUGIN_LINK_BACKEND_ID(), in_pluginInfo, in_data) \
118 #define AK_WWISE_PLUGIN_LINK_FRONTEND_ID() \
119 AK_WWISE_PLUGIN_BASE_INTERFACE_FROM_ID(AK_WWISE_PLUGIN_INTERFACE_TYPE_LINK_FRONTEND, 1)
120 #define AK_WWISE_PLUGIN_LINK_FRONTEND_CTOR( in_pluginInfo, in_data) \
122 .m_baseInterface = AK_WWISE_PLUGIN_BASE_INTERFACE_CTOR(AK_WWISE_PLUGIN_LINK_FRONTEND_ID(), in_pluginInfo, in_data) \
186 template<
typename Backend>
189 return static_cast<Backend*
>(
Get());
247 template<
typename Frontend = ak_wwise_plugin_frontend_instance,
typename Functor>
248 inline void ForEach(Functor in_operation)
const
252 for (
int index = 0; index < count; ++index)
254 if constexpr (std::is_same_v<Frontend, ak_wwise_plugin_frontend_instance>)
256 in_operation(frontends[index]);
258 else if (
auto* frontend =
dynamic_cast<Frontend*
>(frontends[index]))
260 in_operation(frontend);
ak_wwise_plugin_frontend_instance **(* GetArray)(const ak_wwise_plugin_link_frontend_instance_v1 *in_this, int *out_count)
Retrieves an array of the plug-in's frontend instances.
Plug-in frontend instance.
V1::LinkBackend LinkBackend
Latest version of the C++ LinkBackend interface.
ak_wwise_plugin_link_frontend_v1 CLinkFrontend
static GluedInterface * g_cinterface
The unique instance of the CInterface interface. Defined at nullptr first, overridden by the Host onc...
ak_wwise_plugin_link_backend_v1()
decltype(BaseInterface::m_version) InterfaceVersion
PluginInfoGenerator: Type for the m_version value in BaseInterface
ak_wwise_plugin_link_frontend_v1()
@ k_interfaceType
The interface type, as requested by this plug-in.
Base host-provided instance to retrieve the related backend instance, as shown in the frontend.
Wwise Authoring Plug-ins - C++ class helper to automatically determine the plug-in interfaces used in...
PluginInfoGenerator: Associates an existing C Interface with a variable that can be used....
@ k_interfaceType
The interface type, as requested by this plug-in.
Plug-in backend instance.
@ k_interfaceVersion
The interface version, as requested by this plug-in.
@ k_interfaceVersion
The interface version, as requested by this plug-in.
RequestedHostInterface< LinkFrontend > RequestLinkFrontend
std::underlying_type< InterfaceType >::type InterfaceTypeValue
PluginInfoGenerator: Underlying storage type for the m_interface value in BaseInterface
Backend * As()
Retrieves a link to the plug-in's backend instance, casted as your C++ Backend class type.
Frontend plug-in API for Audio plug-ins.
ak_wwise_plugin_backend_instance *(* Get)(const ak_wwise_plugin_link_backend_instance_v1 *in_this)
Retrieves a link to the plug-in's backend instance.
ak_wwise_plugin_link_backend_v1 CLinkBackend
AK_WWISE_PLUGIN_SPECIALIZE_INTERFACE_VERSION(AudioPlugin)
Host API to retrieve a link to the plug-in's frontend interfaces.
Host API to retrieve a link to the plug-in's backend instance.
Base host-provided instance to retrieve the related frontend instances related to the current backend...
Interface description and base class for every Wwise Authoring plug-in interface.
ak_wwise_plugin_link_frontend_instance_v1 Instance
Base host-provided instance to retrieve the related frontend instances related to the current backend...
Host API to retrieve a link to the plug-in's backend instance.
ak_wwise_plugin_frontend_instance ** GetArray(int *out_count) const
Retrieves an array of the plug-in's frontend instances.
ak_wwise_plugin_backend_instance * Get() const
Retrieves a link to the plug-in's backend instance.
V1::LinkFrontend LinkFrontend
Latest version of the C++ LinkFrontend interface.
void ForEach(Functor in_operation) const
Applies a function on each plug-in's frontend instances.
#define AK_WWISE_PLUGIN_SPECIALIZE_HOST_INTERFACE(in_name, in_varname,...)
PluginInfoGenerator: Creates a C++ host specialization for interface class specified in in_name,...
Host API to retrieve a link to the plug-in's frontend interfaces.
ak_wwise_plugin_link_backend_instance_v1 Instance
Base host-provided instance to retrieve the related backend instance, as shown in the frontend.
RequestedHostInterface< LinkBackend > RequestLinkBackend
@ AK_WWISE_PLUGIN_INTERFACE_TYPE_LINK_FRONTEND
2021.1 Link to the frontend plug-ins. ak_wwise_plugin_link_frontend_v1
AK_WWISE_PLUGIN_SPECIALIZE_INTERFACE_CLASS(AudioPlugin)
@ AK_WWISE_PLUGIN_INTERFACE_TYPE_LINK_BACKEND
2021.1 Link to the backend plug-in. ak_wwise_plugin_link_backend_v1
あなたのプロジェクトについて教えてください。ご不明な点はありませんか。
プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。
Wwiseからはじめよう