Wwise SDK 2023.1.8
|
Interface description and base class for every Wwise Authoring plug-in interface. 更多...
#include <PluginBaseInterface.h>
Public 成员函数 | |
constexpr | ak_wwise_plugin_base_interface (decltype(m_interface) in_interface, decltype(m_version) in_version) |
constexpr | ak_wwise_plugin_base_interface () |
constexpr | ak_wwise_plugin_base_interface (std::underlying_type< decltype(m_interface)>::type in_interface, decltype(m_version) in_version) |
Public 属性 | |
ak_wwise_plugin_interface_type | m_interface: 32 |
Interface type (see ak_wwise_plugin_interface_type) 更多... | |
uint32_t | m_version: 32 |
Version of the interface 更多... | |
Interface description and base class for every Wwise Authoring plug-in interface.
Pointer to a generic base from a plug-in interface.
The interface description is expected to never change, and to contain two basic values: the interface type, which is an incrementing value for every single possibility of known interfaces, as well as the version of this interface, starting from 1 at the interface's public release.
An interface can either be provided by the plug-in (for example, AK_WWISE_PLUGIN_INTERFACE_TYPE_AUDIO_PLUGIN), where the plug-in provides the functionality of the callback; or it can be requested to the Wwise Authoring host (for example, AK_WWISE_PLUGIN_INTERFACE_TYPE_HOST_PROPERTY_SET), where the data will be filled by the host for the plug-in to call.
All requested or provided interfaces are deemed mandatory in order to instantiate a plug-in. An unknown or an invalid interface in a context (AK_WWISE_PLUGIN_INTERFACE_TYPE_GUI_WINDOWS in WwiseConsole.exe or on Linux) causes the host to skip the plug-in.
在文件 PluginBaseInterface.h 第 119 行定义.