バージョン
menu

◆ AK_CommandBuffer_Next()

AKSOUNDENGINE_API int AK_CommandBuffer_Next ( struct AkCommandBufferIterator inout_iterator)

Function to iterate over the next command in the buffer. A loop going over all commands in a buffer would be structured as follows:

struct AkCommandBufferIterator it;
AK_CommandBuffer_Begin(buffer, &it);
while (AK_CommandBuffer_Next(&it)) {
    printf("Command ID: %d; Command payload: %p\n", it.header->cmd, it.payload);
}
引数
[in,out]inout_iteratorPointer to iterator initialized with AK_CommandBuffer_Begin
戻り値
non-zero when iterator points to the next command, zero if all commands have been iterated over.
参照

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう