![]() | |
![]() | ![]() |
CL_DisplayMain Display class. Description
CL_Display is the "main" class when dealing with 2D graphics. It contains simple drawing operations, backbuffer clipping and access to the display cards available on the system. A large amount of the functions in the class have the same purpose as their name equalient in CL_DisplayCard. The difference is that those placed here operate on a selected display card, while those in CL_DisplayCard class require an instance to the card. All backbuffer related drawing operations in other classes (CL_Surface for instance) work on the currently selected display card, unless you explict pass a pointer pointing to a display card. The main purpose of this system is to avoid passing around a pointer to the display card in those games, where it only access one single card anyway. When using OpenGL the GL context will always point to the selected card. So if you need to use OpenGL commands to draw onto another card, you have to select it here. Class membersvirtual ~CL_Display() See AlsoNone |