Version
menu

◆ AK_CommandBuffer_ArraySize()

AKSOUNDENGINE_API size_t AK_CommandBuffer_ArraySize ( size_t  item_size,
AkUInt16  num_items 
)

Calculate the space required to store an array of arbitrary-sized objects in the command buffer.

Parameters
[in]item_sizeSize (in bytes) of each element in the array.
[in]num_itemsNumber of elements in the array.
Returns
Size (in bytes) required to copy the array data in the command buffer.

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise