11#pragma warning(disable : 4237)
12#pragma warning(disable : 4786)
64 void Dump(
void (*pTracer)(
const char*, ...))
const;
94 return strcmp((
const char*) rName1, (
const char*) rName2) > 0;
116 typedef map<ROIName, ViewLODList*, ROINameComparator> ViewLODListMap;
158 void Dump(
void (*pTracer)(
const char*, ...))
const;
162 static int g_ROINameUID;
164 ViewLODListMap m_map;
[AI] Type-safe extension of LODListBase, templated for any LODObject-derived type.
[AI] Manages the lifecycle, lookup, and sharing of ViewLODList instances for different ROI names.
ViewLODList * Create(const ROIName &rROIName, int lodCount)
[AI] Creates and registers a new ViewLODList for a named ROI, with space for the specified number of ...
ViewLODListManager()
[AI] Constructs a ViewLODListManager; initializes internal structures.
virtual ~ViewLODListManager()
[AI] Destroys the manager and all ViewLODLists it owns, ensuring proper cleanup of all managed instan...
ViewLODList * Lookup(const ROIName &) const
[AI] Looks up an existing ViewLODList by ROI name, incrementing its reference count.
unsigned char Destroy(ViewLODList *lodList)
[AI] Destroys (removes and deletes) the given ViewLODList from the manager.
[AI] Reference-counted list of Level-of-Detail (LOD) objects associated with a single ROI (Realtime O...
int Release()
[AI] Decrements the reference count.
~ViewLODList() override
[AI] Destructor for ViewLODList; asserts that no references remain before destroying.
ViewLODList(size_t capacity, ViewLODListManager *owner)
[AI] Constructs a ViewLODList with a given capacity and owner manager.
int AddRef()
[AI] Increments the reference count.
[AI] Represents a Level of Detail (LOD) object for rendering, implemented with a mesh builder and sup...
[AI] STL compatibility layer header to provide consistent STL (Standard Template Library) types and a...
[AI] Comparator for ROIName (C-style strings) to be used as keys in maps, using strcmp for sorting.
unsigned char operator()(const ROIName &rName1, const ROIName &rName2) const
[AI] Lexicographical comparison of two ROI names for map ordering.
const char * ROIName
[AI] String type used as a key to identify uniquely-named ROI (Realtime Object Instance) classes.