CmIndexData.h 519 B

12345678910111213141516171819202122
  1. #pragma once
  2. #include "CmPrerequisites.h"
  3. #include "CmIndexBuffer.h"
  4. namespace BansheeEngine
  5. {
  6. /**
  7. * @brief Container that holds data about indices in a subset of an index buffer.
  8. */
  9. class CM_EXPORT IndexData
  10. {
  11. public:
  12. IndexData();
  13. ~IndexData();
  14. IndexBufferPtr indexBuffer; /**< Reference to an index buffer to fetch the indices from. */
  15. UINT32 indexStart; /**< Starting index of the subset. */
  16. UINT32 indexCount; /**< Number of indices in the subset. */
  17. };
  18. }