Kaim::DisplayListManager Class Reference
#include <displaylist.h>
Game side: Manages all DisplayListData, send them to the NavigationLab.
NavigationLab side: Manages the DisplayListBlobs to render
|
DisplayListData * | GetNewDisplayListData () |
|
void | SendDisplayListData (DisplayListData *displayListData) |
|
void | ReleaseDisplayListData (DisplayListData *displayListData) |
|
void | AddDisplayListBlobToRender (const char *displayListBlob, KyUInt32 blobsize) |
|
DisplayListBlob * | GetNextDisplayListBlobToRender (KyUInt32 &sizeRead) |
|
void | ClearDisplayListBlobsToRender () |
|
void | SetVisualGeometry (IVisualGeometry *visualGeometry) |
|
IVisualGeometry * | GetVisualGeometry () |
|
bool | IsVisualGeometrySupported () |
|
void | BuildVisualGeometry () |
|
KyUInt32 Kaim::DisplayListManager::GenerateDisplayListId |
( |
| ) |
|
Returns a unique displayListId.
DisplayList Kaim::DisplayListManager::MakeMultiFrame |
( |
KyUInt32 & |
displayListId, |
|
|
const char |
group[64], |
|
|
const char |
name[64] |
|
) |
| |
- Indicates the receiver to display the displayList untill DisplayListManager::RemoveDisplayList(displayListId) is called.
- When displayListId = KyUInt32MAXVAL, then displayListId is set to GenerateDisplayListId().
- If a DisplayList is created with an existing displayListId then it will replace the existing one.
Associate the displayList with a worldElementId.
DisplayList Kaim::DisplayListManager::MakeMultiFrame |
( |
KyUInt32 & |
displayListId, |
|
|
KyUInt32 |
worldElementId, |
|
|
const char |
group[64], |
|
|
const char |
name[64] |
|
) |
| |
Associate the displayList with a worldElementId.
void Kaim::DisplayListManager::NewFrame |
( |
| ) |
|
End the current frame and begin a new one.
void Kaim::DisplayListManager::RemoveDisplayList |
( |
KyUInt32 |
displayListId | ) |
|
void Kaim::DisplayListManager::RemoveDisplayList |
( |
const char * |
displayListName, |
|
|
const char * |
displayListGroupName, |
|
|
KyUInt32 |
worldElementId = 0xFFFFFFFF |
|
) |
| |
void Kaim::DisplayListManager::SubmitToRenderer |
( |
| ) |
|
|
inline |
Changed for consistency, please use BuildVisualGeometry instead.
The documentation for this class was generated from the following files:
- gwnavruntime/visualsystem/displaylist.h
- gwnavruntime/visualsystem/displaylist.cpp