Advertisement
Guest User

Untitled

a guest
May 30th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. #pragma once
  2.  
  3. // Framework includes
  4. #include "BsApplication.h"
  5. #include "Scene/BsPrefab.h"
  6. #include "Resources/BsResources.h"
  7. #include "Resources/BsBuiltinResources.h"
  8. #include "Material/BsMaterial.h"
  9. #include "Components/BsCCamera.h"
  10. #include "Components/BsCRenderable.h"
  11. #include "Components/BsCAnimation.h"
  12. #include "Components/BsCSkybox.h"
  13. #include "RenderAPI/BsRenderAPI.h"
  14. #include "RenderAPI/BsRenderWindow.h"
  15. #include "Components/BsCAnimation.h"
  16. #include "Scene/BsSceneObject.h"
  17. #include "Physics/BsPhysicsMaterial.h"
  18. #include "BsPrerequisites.h"
  19. #include "Reflection/BsRTTIType.h"
  20. #include "Resources/BsResources.h"
  21. #include "Resources/BsResourceManifest.h"
  22. #include "Mesh/BsMesh.h"
  23. #include "Importer/BsImporter.h"
  24. #include "Importer/BsMeshImportOptions.h"
  25. #include "Importer/BsTextureImportOptions.h"
  26. #include "Text/BsFontImportOptions.h"
  27. #include "FileSystem/BsFileSystem.h"
  28. #include "Input/BsVirtualInput.h"
  29. #include "Configuration.h"
  30. #include "Framework.h"
  31.  
  32. namespace bs
  33. {
  34. /** Container for all resources used by the example. */
  35. struct Assets
  36. {
  37. HMesh characterMesh;
  38. HAnimationClip characterWalkingAnimClip;
  39. HTexture characterTexture;
  40. HTexture floorTexture;
  41. HTexture skyCubemap;
  42. HMaterial characterMaterial;
  43. HAnimation characterAnimation;
  44. HSceneObject characterSO;
  45. HRenderable characterRenderable;
  46. HPrefab characterRenderablePrefab;
  47. };
  48.  
  49. /** Load the resources we'll be using throughout the example. */
  50. Assets loadAssets();
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement