バージョン
menu

◆ AK_CommandBuffer_Add()

AKSOUNDENGINE_API void* AK_CommandBuffer_Add ( void *  in_buffer,
enum AkCommand  in_cmd_id 
)

Reserve space for a command in the command buffer When this function returns a non-null pointer, the space reserved is zero'ed out. It is the responsibility of the caller to write the correct payload data in the command's reserved space.

The buffer must be initialized prior to calling this function, either using AK_CommandBuffer_Create or AK_CommandBuffer_Init. Passing an un-initialized buffer results in undefined behavior.

引数
[in,out]in_bufferPointer to command buffer
[in]in_cmd_idID of command (should be one of the values listed in AkCommand enum)
戻り値
Pointer to the corresponding command payload, or NULL if not enough space left in the buffer
参照
AkCommand

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう