PowerVR Software Development Kit


Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

PVRTTriStrip.h

Go to the documentation of this file.
00001 /*!***************************************************************************
00002  @File          PVRTTriStrip.h
00003 
00004  @Brief         Generate triangle strips
00005 
00006  @Author        PowerVR
00007 
00008  @Date          27/08/2005
00009 
00010  @Copyright     Copyright 2005 by Imagination Technologies Limited.
00011                 All rights reserved. No part of this software, either
00012                 material or conceptual may be copied or distributed,
00013                 transmitted, transcribed, stored in a retrieval system
00014                 or translated into any human or computer language in any
00015                 form by any means, electronic, mechanical, manual or
00016                 other-wise, or disclosed to third parties without the
00017                 express written permission of Imagination Technologies
00018                 Limited, Unit 8, HomePark Industrial Estate,
00019                 King's Langley, Hertfordshire, WD4 8LZ, U.K.
00020 
00021  @Platform      Independent
00022 
00023  @Description   Strips a triangle list.
00024 
00025  $Revision: 1.4 $
00026 *****************************************************************************/
00027 #ifndef _PVRTTRISTRIP_H_
00028 #define _PVRTTRISTRIP_H_
00029 
00030 
00031 /****************************************************************************
00032 ** Declarations
00033 ****************************************************************************/
00034 
00035 /*!***************************************************************************
00036  @Function          PVRTTriStrip
00037  @Output            ppwStrips
00038  @Output            ppnStripLen
00039  @Output            pnStripCnt
00040  @Input             pwTriList
00041  @Input             nTriCnt
00042  @Description
00043  Reads a triangle list and generates an optimised triangle strip.
00044 *****************************************************************************/
00045 void PVRTTriStrip(
00046     unsigned short          **ppwStrips,
00047     unsigned int            **ppnStripLen,
00048     unsigned int            *pnStripCnt,
00049     const unsigned short    * const pwTriList,
00050     const unsigned int      nTriCnt);
00051 
00052 
00053 /*!***************************************************************************
00054  @Function          PVRTTriStripList
00055  @Modified          pwTriList
00056  @Input             nTriCnt
00057  @Description
00058  Reads a triangle list and generates an optimised triangle strip. Result is
00059  converted back to a triangle list.
00060 *****************************************************************************/
00061 void PVRTTriStripList(
00062     unsigned short      * const pwTriList,
00063     const unsigned int  nTriCnt);
00064 
00065 
00066 #endif /* _PVRTTRISTRIP_H_ */
00067 
00068 /*****************************************************************************
00069  End of file (PVRTTriStrip.h)
00070 *****************************************************************************/


Copyright © 1999-2006, PowerVR Technologies and partners. PowerVR Technologies is a division of Imagination Technologies Ltd.


Generated by DOXYGEN 1.3.6