class csPolygon2DQueue A queue for polygon 2D objects to render at a later time
| | csPolygon2DQueue (int max_size) Construct a queue for a given maximum size. |
| | Pop (csPolygon3D** poly3d, csPolygon2D** poly2d) Pop last added 2D polygon from the queue |
| | Push (csPolygon3D* poly3d, csPolygon2D* poly2d) Push a 2D polygon to the queue. |
| | ~csPolygon2DQueue () Destruct queue. |
A queue for polygon 2D objects to render at a later time. This queue is useful to remember a set of 2D polygons efficiently and play them back in front to back or back to front. A queue is always allocated for a given maximum size. This size is known in advance because we know for which polygons the queue is going to be used.
Note! The queue will never delete polygons from memory. You are responsible for cleaning up the queue first.
~csPolygon2DQueue()
void Push(csPolygon3D* poly3d, csPolygon2D* poly2d)
bool Pop(csPolygon3D** poly3d, csPolygon2D** poly2d)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de