Does loading Streaming Banks load the whole assets into memory?

When loading separated streaming banks (.stream.bank) at runtime does that load the whole bank into memory? Or does it just load what is needed to stream those assets?

I.e. should i be loading the streaming banks at all, or should i just load the metadata banks (.bank) and the streaming data will be played as needed?

Hi,

It will just load the bank data, unless Studio::Bank ::loadSampleData is called.

You can specify just loading the required event sample data by calling Studio::EventDescription::loadSampleData.

Loading the streaming data only when needed is a fine workflow, however, you will have to take the loading time into account when wanting to trigger an event. More useful information can be found here:

Hope this helps

Thats great, thanks for all the info and explanations!

1 Like