24 #ifndef INCLUDED_MODELRENDERER 25 #define INCLUDED_MODELRENDERER 126 virtual void Submit(
int cullGroup,
CModel*
model) = 0;
135 virtual void PrepareModels() = 0;
141 virtual void EndFrame() = 0;
174 static void CopyPositionAndNormals(
193 static void BuildPositionAndNormals(
209 static void BuildColor4ub(
234 static void BuildIndices(
245 static void GenTangents(
const CModelDefPtr& mdef, std::vector<float>& newVertices,
bool gpuSkinning);
268 virtual void PrepareModels();
269 virtual void EndFrame();
276 #endif // INCLUDED_MODELRENDERER
ShaderModelRendererInternals * m
Definition: ModelRenderer.h:273
static Status Init()
Definition: h_mgr.cpp:744
Internal data of the ShaderModelRenderer.
Definition: HWLightingModelRenderer.cpp:93
shared_ptr< RenderModifier > RenderModifierPtr
Definition: ModelRenderer.h:34
Implementation of ModelRenderer that loads the appropriate shaders for rendering each model...
Definition: ModelRenderer.h:258
std::shared_ptr< CModelDef > CModelDefPtr
Definition: MeshManager.h:26
Definition: RenderableObject.h:41
shared_ptr< ModelRenderer > ModelRendererPtr
Definition: ModelRenderer.h:43
CModelRData(const void *key)
Definition: ModelRenderer.h:64
shared_ptr< ModelVertexRenderer > ModelVertexRendererPtr
Definition: ModelRenderer.h:40
Class ModelRenderer: Abstract base class for all model renders.
Definition: ModelRenderer.h:104
pthread_key_t key
Definition: wpthread.cpp:140
void Render()
Definition: GameSetup.cpp:201
virtual ~ModelRenderer()
Definition: ModelRenderer.h:108
Represents a mapping of name strings to value strings, for use with #if and #ifdef and similar condit...
Definition: ShaderDefines.h:133
const void * m_Key
The key for model renderer identification.
Definition: ModelRenderer.h:76
Class RenderModifier: Some ModelRenderer implementations provide vertex management behaviour but allo...
Definition: RenderModifiers.h:48
Color
Definition: format.h:1746
ModelRenderer()
Definition: ModelRenderer.h:107
static size_t model
Definition: x86_x64.cpp:221
Class CModelRData: Render data that is maintained per CModel.
Definition: ModelRenderer.h:61
shared_ptr< LitRenderModifier > LitRenderModifierPtr
Definition: ModelRenderer.h:37
Definition: VertexArray.h:25
Class ModelVertexRenderer: Normal ModelRenderer implementations delegate vertex array management and ...
Definition: ModelVertexRenderer.h:41
const void * GetKey() const
GetKey: Retrieve the key that can be used to identify the ModelRenderer that created this data...
Definition: ModelRenderer.h:72
Definition: CCmpRangeManager.cpp:198
Class LitRenderModifier: Abstract base class for RenderModifiers that apply a shadow map...
Definition: RenderModifiers.h:83