The per-document primitive cache for MeshProviders. ITracker is basically a hash map of shared_ptr<const IRenderMeshes> with the key being the ObjectId.
More...
#include <IRhRdkCustomRenderMeshes.h>
The per-document primitive cache for MeshProviders. ITracker is basically a hash map of shared_ptr<const IRenderMeshes> with the key being the ObjectId.
◆ ~ITracker()
virtual RhRdk::CustomRenderMeshes::IRenderMeshes::ProviderTracking::ITracker::~ITracker |
( |
| ) |
|
|
inlinevirtual |
◆ EVF()
virtual void* RhRdk::CustomRenderMeshes::IRenderMeshes::ProviderTracking::ITracker::EVF |
( |
const wchar_t * |
wszFunc, |
|
|
void * |
pv |
|
) |
| |
|
pure virtual |
Emergency virtual function for future expansion
- Parameters
-
wszFunc | The named function |
pv | Private data |
- Returns
- Private data in the form of a void*
◆ Record()
virtual const IRecord* RhRdk::CustomRenderMeshes::IRenderMeshes::ProviderTracking::ITracker::Record |
( |
const ObjectId & |
id | ) |
const |
|
pure virtual |
Access the record for a specific ObjectId
- Parameters
-
id | The ObjectId for these primitives. |
- Returns
- The record in the cache containing the primitives.
◆ Record2()
const IRecord2* RhRdk::CustomRenderMeshes::IRenderMeshes::ProviderTracking::ITracker::Record2 |
( |
const ObjectId & |
id | ) |
const |
◆ Set()
virtual void RhRdk::CustomRenderMeshes::IRenderMeshes::ProviderTracking::ITracker::Set |
( |
std::shared_ptr< const IRenderMeshes > |
prims | ) |
|
|
pure virtual |
Adds a new set of primitives to the map.
- Parameters
-
prims | The primitives to be added. The prims must return a correct ObjectId and Hash for the cache to work correctly. |