How to change the order in which chunks are installed
In the following example code, a game needs access to a file soon to allow the user to keep playing. The PrioritizeChunk function is defined and checks the current installation status of a chunk.- If the chunk isn’t already installed, the function asks the streaming system to install that chunk first and then returns an installation monitor of the chunk’s progress.
- If the chunk is already installed, the function returns a null monitor.
