![]() |
Kiwano Engine
v1.2.x
|
音频模块 更多...
#include <AudioModule.h>
Public 成员函数 | |
void | Open () |
开启音频设备 | |
void | Close () |
关闭音频设备 | |
bool | CreateSound (Sound &sound, const Transcoder::Buffer &buffer) |
从解码器数据缓冲中创建音频对象 | |
void | SetupModule () override |
启动模块 | |
void | DestroyModule () override |
销毁模块 | |
![]() | |
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_ |
音频模块