バージョン

menu_open
Wwise SDK 2024.1.1
PluginInfo.h
[詳解]
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Copyright (c) 2024 Audiokinetic Inc.
25 *******************************************************************************/
26 
27 /**
28  * \brief Wwise Authoring Plug-ins - Definition of a plug-in, as stored in a container.
29  * \file AK/Wwise/Plugin/PluginMFCWindows.h
30  */
31 
32 #pragma once
33 
35 
36 #pragma pack(push, 4)
38 {
40 
44  uint32_t m_pluginFlags;
45 
47 
48  // Member functions
49 
50  // Instantiation of a plug-in interface by host
51  struct ak_wwise_plugin_interface_array_item*(*Instantiate)(struct ak_wwise_plugin_info* in_pluginInfo);
52 
53  //
54  void(*Disembody)(struct ak_wwise_plugin_interface_array_item* in_instance);
55 
56  size_t m_arraySize;
58 
59 #ifdef __cplusplus
61  const AkUInt32* in_companyId,
62  const AkUInt32* in_pluginId,
63  const AkPluginType* in_pluginType,
64  uint32_t in_pluginFlags,
65  AK::PluginRegistration* in_pluginRegistration,
66  decltype(Instantiate) in_Instantiate,
67  decltype(Disembody) in_Disembody,
68  size_t in_arraySize,
69  ak_wwise_plugin_interface_array_item* in_interfaces) :
70  m_next(nullptr),
71  m_companyId(in_companyId),
72  m_pluginId(in_pluginId),
73  m_pluginType(in_pluginType),
74  m_pluginFlags(in_pluginFlags),
75  m_pluginRegistration(in_pluginRegistration),
76  Instantiate(in_Instantiate),
77  Disembody(in_Disembody),
78  m_arraySize(in_arraySize),
79  m_interfaces(in_interfaces)
80  {}
81 #endif
82 };
83 #pragma pack(pop)
ak_wwise_plugin_info(const AkUInt32 *in_companyId, const AkUInt32 *in_pluginId, const AkPluginType *in_pluginType, uint32_t in_pluginFlags, AK::PluginRegistration *in_pluginRegistration, decltype(Instantiate) in_Instantiate, decltype(Disembody) in_Disembody, size_t in_arraySize, ak_wwise_plugin_interface_array_item *in_interfaces)
Definition: PluginInfo.h:60
const AkUInt32 * m_companyId
Definition: PluginInfo.h:41
struct ak_wwise_plugin_interface_array_item *(* Instantiate)(struct ak_wwise_plugin_info *in_pluginInfo)
Definition: PluginInfo.h:51
AK::PluginRegistration * m_pluginRegistration
Definition: PluginInfo.h:46
Wwise Authoring Plug-ins - A single instantiatable plug-in interface.
struct ak_wwise_plugin_info * m_next
Definition: PluginInfo.h:39
uint32_t m_pluginFlags
Definition: PluginInfo.h:44
void(* Disembody)(struct ak_wwise_plugin_interface_array_item *in_instance)
Definition: PluginInfo.h:54
AkPluginType
Definition: AkTypes.h:1186
const AkPluginType * m_pluginType
Definition: PluginInfo.h:43
uint32_t AkUInt32
Unsigned 32-bit integer
A single instantiatable plug-in interface.
struct ak_wwise_plugin_interface_array_item * m_interfaces
Definition: PluginInfo.h:57
const AkUInt32 * m_pluginId
Definition: PluginInfo.h:42

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう