#include <DrawMgr.H>
Static Public Methods | |
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 | drawPaperBackground () |
float | paperXOffset () |
float | paperYOffset () |
void | setPaperXOffset (float o) |
void | setPaperYOffset (float o) |
float | paperRepeat () |
void | setPaperRepeat (float r) |
Static Protected Methods | |
GLenum | getLight (const int i) |
Static Protected Attributes | |
ARRAY< DrawObj * > | _objects |
ARRAY< DrawObj * > | _2dObjects |
double | _startTime = the_time() |
double | _lastFrameTime = the_time() |
long | _frameCount = 0 |
ScreenGrab * | _screenGrab = NULL |
ScreenGrabInt * | _screenGrabInt = NULL |
int | _useDLs = 1 |
Texture * | _paperTexture = NULL |
float | _paperRepeat = 1.0 |
float | _paperXOffset = 0.0 |
float | _paperYOffset = 0.0 |
int | _paperPass = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|