Functions | |
void | ulInitGfx () |
void | ulInitDualScreenMode () |
void | ulStopDualScreenMode () |
void | ulStartDrawing2D () |
void | ulEndDrawing () |
void | ulSyncFrame () |
void | ulEndFrame () |
void ulInitGfx | ( | ) |
Initialization of the graphical part
void ulInitDualScreenMode | ( | ) |
Initialize dual screen mode
void ulStopDualScreenMode | ( | ) |
Stops the dual screen mode.
void ulStartDrawing2D | ( | ) |
Start a new drawing, configure 2D. Call it once per frame.
You can call it a second time (or more) in a frame to reset the view to 2D. If you want to draw some 3D, just set up the needed 3D params and call ulStartDrawing2D to return to 2D. Note that this function has not been tested, any feedback is appreciated. ;)
void ulEndDrawing | ( | ) |
End the current drawing. Call after you've finished drawing, and once per frame. Further drawing will not be possible until the next frame.
void ulSyncFrame | ( | ) |
Waits the VBlank period to synchronize at 60 fps. You need to call it, else call ulEndFrame during the VBlank.
void ulEndFrame | ( | ) |
End of a frame. Call it only if you don't call ulSyncFrame.