BsMeshProxy.h 688 B

12345678910111213141516171819202122
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #pragma once
  5. #include "BsCorePrerequisites.h"
  6. #include "BsSubMesh.h"
  7. #include "BsBounds.h"
  8. namespace BansheeEngine
  9. {
  10. /**
  11. * Contains part of Mesh data that is used on the core thread for rendering.
  12. */
  13. struct BS_CORE_EXPORT MeshProxy
  14. {
  15. std::weak_ptr<MeshBase> mesh;
  16. SubMesh subMesh;
  17. Bounds bounds;
  18. UINT32 submeshIdx;
  19. };
  20. }