In file include/csengine/pol2d.h:

## class csPolygon2DQueue

> A queue for polygon 2D objects to render at a later time

### Public Methods

csPolygon2DQueue(int max_size)
  Construct a queue for a given maximum size.
bool Pop(csPolygon3D** poly3d, csPolygon2D** poly2d)
  Pop last added 2D polygon from the queue
void Push(csPolygon3D* poly3d, csPolygon2D* poly2d)
  Push a 2D polygon to the queue.
~csPolygon2DQueue()
  Destruct queue.

## Documentation

> 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(int max_size)`
  Construct a queue for a given maximum size.

`~csPolygon2DQueue()`
  Destruct queue.

`void Push(csPolygon3D* poly3d, csPolygon2D* poly2d)`
  Push a 2D polygon to the queue.

`bool Pop(csPolygon3D** poly3d, csPolygon2D** poly2d)`
  Pop last added 2D polygon from the queue. Return false if there are no more 2D polygons.

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de