Class CModelRData: Render data that is maintained per CModel.  
 More...
#include <ModelRenderer.h>
|  | 
| const void * | m_Key | 
|  | The key for model renderer identification.  More... 
 | 
|  | 
Class CModelRData: Render data that is maintained per CModel. 
ModelRenderer implementations may derive from this class to store per-CModel data.
The main purpose of this class over CRenderData is to track which ModelRenderer the render data belongs to (via the key that is passed to the constructor). When a model changes the renderer it uses (e.g. via run-time modification of the renderpath configuration), the old ModelRenderer's render data is supposed to be replaced by the new data. 
◆ CModelRData()
  
  | 
        
          | CModelRData::CModelRData | ( | const void * | key | ) |  |  | inline | 
 
 
◆ GetKey()
  
  | 
        
          | const void * CModelRData::GetKey | ( |  | ) | const |  | inline | 
 
GetKey: Retrieve the key that can be used to identify the ModelRenderer that created this data. 
- Returns
- The opaque key that was passed to the constructor. 
 
 
◆ m_Key
  
  | 
        
          | const void* CModelRData::m_Key |  | private | 
 
The key for model renderer identification. 
 
 
The documentation for this class was generated from the following file:
- /home/docker/jenkins/workspace/technical-docs/source/renderer/ModelRenderer.h