Christopher Chambers 68666c8629 Mac/iOS compilation and run fixes. 13 years ago
..
Content 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
BackgroundThreadTester.csproj 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
Enums.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
Game1.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
Info.plist 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
InputManager.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
MainMenu.xib 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
Object.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
Program.cs 68666c8629 Mac/iOS compilation and run fixes. 13 years ago
README.md 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
TestTexture.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago
TextManager.cs 1f0bb6e8b3 Add sample that shows how to load assets in the background. Submitted by CircleOf14 13 years ago

README.md

BackgroundThreadSample

This sample demonstrates the loading of assets in a background thread.

Sample originally created by CircleOf14 and modified by Kenneth Pouncey to create new textures to be added to the game components dynamically in the background.

Of special interest look at the following methods:

CreateBackgroundThread () - Creates a thread to be executed in the background and starts it. BackgroundWorkerThread () - Worker thread that actually does the work of creating the new asset and adding

Make sure to read the comments in these two methods.