tlp::GlDisplayListManager Class Reference#include <GlDisplayListManager.h>
Collaboration diagram for tlp::GlDisplayListManager:
[legend]List of all members.
Detailed Description
Singleton used to manage OpenGl display list.
Singleton used to manage OpenGl display list. First createInst must be call.
Public Member Functions
Static Public Member Functions
Member Function Documentation
bool tlp::GlDisplayListManager::beginNewDisplayList |
( |
const std::string & |
name |
) |
|
|
|
Begin to record a new display list with name : name |
bool tlp::GlDisplayListManager::callDisplayList |
( |
const std::string & |
name |
) |
|
|
|
Call display list with name : name |
void tlp::GlDisplayListManager::changeContext |
( |
unsigned long |
context |
) |
|
|
|
Change OpenGl context because display list can't be shared in different context |
void tlp::GlDisplayListManager::endNewDisplayList |
( |
|
) |
|
|
|
End the current record of display list |
|
Return the current instance. If instance doesn't exist, create it. |
void tlp::GlDisplayListManager::removeContext |
( |
unsigned long |
context |
) |
|
|
|