PVRTTriStrip.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /******************************************************************************
  2. @File PVRTTriStrip.h
  3. @Title PVRTTriStrip
  4. @Version
  5. @Copyright Copyright (C) Imagination Technologies Limited.
  6. @Platform Independent
  7. @Description Strips a triangle list.
  8. ******************************************************************************/
  9. #ifndef _PVRTTRISTRIP_H_
  10. #define _PVRTTRISTRIP_H_
  11. /****************************************************************************
  12. ** Declarations
  13. ****************************************************************************/
  14. /*!***************************************************************************
  15. @Function PVRTTriStrip
  16. @Output ppui32Strips
  17. @Output ppnStripLen
  18. @Output pnStripCnt
  19. @Input pui32TriList
  20. @Input nTriCnt
  21. @Description Reads a triangle list and generates an optimised triangle strip.
  22. *****************************************************************************/
  23. void PVRTTriStrip(
  24. unsigned int **ppui32Strips,
  25. unsigned int **ppnStripLen,
  26. unsigned int *pnStripCnt,
  27. const unsigned int * const pui32TriList,
  28. const unsigned int nTriCnt);
  29. /*!***************************************************************************
  30. @Function PVRTTriStripList
  31. @Modified pui32TriList
  32. @Input nTriCnt
  33. @Description Reads a triangle list and generates an optimised triangle strip. Result is
  34. converted back to a triangle list.
  35. *****************************************************************************/
  36. void PVRTTriStripList(unsigned int * const pui32TriList, const unsigned int nTriCnt);
  37. #endif /* _PVRTTRISTRIP_H_ */
  38. /*****************************************************************************
  39. End of file (PVRTTriStrip.h)
  40. *****************************************************************************/