Lines Matching refs:mesh
283 BasicRenderElement(ResMesh mesh, Model* model) in BasicRenderElement() argument
284 : m_Key(0), m_Mesh(mesh), m_Model(model) in BasicRenderElement()
442 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
445 if (mesh.IsValid() && model) in CreateRenderKey()
447 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
451 mesh.GetRenderPriority(), RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateRenderKey()
538 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
541 if (mesh.IsValid() && model) in CreateRenderKey()
543 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
546 mesh.GetRenderPriority(), RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateRenderKey()
637 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
640 if (mesh.IsValid() && model) in CreateRenderKey()
642 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
644 renderKey.SetPriorityForSimpleMaterial(mesh.GetRenderPriority(), 0); in CreateRenderKey()