#include <DrawMgr.H>
Static Public Member Functions | |
| void | registerObj (DrawObj *o) |
| void | register2DObj (DrawObj *o) |
| void | removeObj (DrawObj *o, bool display=true) |
| int | numObjects () |
| DrawObj * | getObject (const int num) |
| void | drawObject (DrawObj *const d) |
| void | contextInit () |
| void | draw (int pass=0) |
| void | frameDone () |
| double | elapsedTime () |
| double | timeSinceLastFrame () |
| long | frameCount () |
| void | offsetTime (const double offset) |
| ScreenGrab * | screenGrab () |
| void | drawFullscreenImage (Texture *image, float xmin=0.0, float ymin=0.0, float xmax=1.0, float ymax=1.0) |
| void | drawPaperBackground () |
| float | paperXOffset () |
| float | paperYOffset () |
| void | setPaperXOffset (float o) |
| void | setPaperYOffset (float o) |
| float | paperRepeat () |
| void | setPaperRepeat (float r) |
Static Protected Member Functions | |
| GLenum | getLight (const int i) |
Static Protected Attributes | |
| ARRAY< DrawObj * > | _objects |
| ARRAY< DrawObj * > | _2dObjects |
| double | _startTime |
| double | _lastFrameTime |
| long | _frameCount |
| ScreenGrab * | _screenGrab |
| ScreenGrabInt * | _screenGrabInt |
| int | _useDLs |
| Texture * | _paperTexture |
| float | _paperRepeat |
| float | _paperXOffset |
| float | _paperYOffset |
| int | _paperPass |
| int | _useG3DRendering |
| Use G3D rather than straight GL calls whenever possible. | |
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
draws a texture that covers the entire screen, final arguments specify texture coordinates for the corners of the screen and default to values for drawing the entire image. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rendering pass that the paper background gets drawn in can set to -1 and then call drawPaperBackground on your own if you want complete control of when to draw it. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use G3D rather than straight GL calls whenever possible.
|
1.3.4