|
Pyrogenesis
13997
|
Class CModelRData: Render data that is maintained per CModel. More...
#include <ModelRenderer.h>
Public Member Functions | |
| CModelRData (const void *key) | |
| const void * | GetKey () const |
| GetKey: Retrieve the key that can be used to identify the ModelRenderer that created this data. More... | |
Public Member Functions inherited from CRenderData | |
| CRenderData () | |
| virtual | ~CRenderData () |
Private Attributes | |
| const void * | m_Key |
| The key for model renderer identification. More... | |
Additional Inherited Members | |
Public Attributes inherited from CRenderData | |
| int | m_UpdateFlags |
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.
Definition at line 70 of file ModelRenderer.h.
|
inline |
Definition at line 73 of file ModelRenderer.h.
|
inline |
GetKey: Retrieve the key that can be used to identify the ModelRenderer that created this data.
Definition at line 81 of file ModelRenderer.h.
|
private |
The key for model renderer identification.
Definition at line 85 of file ModelRenderer.h.
1.8.5