![]() |
Kiwano Engine v1.2.x
|
音频模块 更多...
#include <AudioModule.h>
Public 成员函数 | |
void | Open () |
开启音频设备 | |
void | Close () |
关闭音频设备 | |
TranscoderPtr | CreateTranscoder (const String &file_path) |
创建音频解码器 | |
TranscoderPtr | CreateTranscoder (const Resource &res) |
创建音频解码器 | |
bool | CreateSound (Sound &sound, TranscoderPtr transcoder) |
创建音频 | |
void | SetupModule () override |
启动模块 更多... | |
void | DestroyModule () override |
销毁模块 更多... | |
![]() | |
virtual void | SetupModule () |
启动模块 更多... | |
virtual void | DestroyModule () |
销毁模块 更多... | |
virtual void | OnUpdate (UpdateModuleContext &ctx) |
更新时 更多... | |
virtual void | HandleEvent (EventModuleContext &ctx) |
事件处理 更多... | |
virtual void | BeforeRender (RenderModuleContext &ctx) |
渲染前 更多... | |
virtual void | OnRender (RenderModuleContext &ctx) |
渲染时 更多... | |
virtual void | AfterRender (RenderModuleContext &ctx) |
渲染后 更多... | |
额外继承的成员函数 | |
![]() | |
using | object_type = AudioModule |
![]() | |
static object_type & | GetInstance () |
static object_type * | GetInstancePtr () |
![]() | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
![]() | |
static AudioModule | instance_ |
音频模块
|
overridevirtual |
销毁模块
重载 kiwano::Module .
|
overridevirtual |
启动模块
重载 kiwano::Module .