23#ifndef INCLUDED_MODELVERTEXRENDERER
24#define INCLUDED_MODELVERTEXRENDERER
Definition: ModelDef.h:141
Class CModelRData: Render data that is maintained per CModel.
Definition: ModelRenderer.h:63
Class ModelVertexRenderer: Normal ModelRenderer implementations delegate vertex array management and ...
Definition: ModelVertexRenderer.h:44
virtual void UpdateModelData(CModel *model, CModelRData *data, int updateflags)=0
UpdateModelData: Calculate per-model data for each frame.
virtual CModelRData * CreateModelData(const void *key, CModel *model)=0
CreateModelData: Create internal data for one model.
virtual void RenderModel(Renderer::Backend::IDeviceCommandContext *deviceCommandContext, Renderer::Backend::IShaderProgram *shader, CModel *model, CModelRData *data)=0
RenderModel: Invoke the rendering commands for the given model.
virtual ~ModelVertexRenderer()
Definition: ModelVertexRenderer.h:46
virtual void PrepareModelDef(Renderer::Backend::IDeviceCommandContext *deviceCommandContext, const CModelDef &def)=0
PrepareModelDef: Setup backend state for rendering of models that use the given CModelDef object as b...
virtual void UploadModelData(Renderer::Backend::IDeviceCommandContext *deviceCommandContext, CModel *model, CModelRData *data)=0
Upload per-model data to backend.
Definition: IDeviceCommandContext.h:42
IShaderProgram is a container for multiple shaders of different types.
Definition: IShaderProgram.h:81
pthread_key_t key
Definition: wpthread.cpp:140