版本
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 之旅