Lines Matching refs:mesh
288 BasicRenderElement(ResMesh mesh, Model* model) in BasicRenderElement() argument
289 : m_Key(0), m_Mesh(mesh), m_Model(model) in BasicRenderElement()
447 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
450 if (mesh.IsValid() && model) in CreateRenderKey()
452 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
456 mesh.GetRenderPriority(), RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateRenderKey()
543 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
546 if (mesh.IsValid() && model) in CreateRenderKey()
548 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
551 mesh.GetRenderPriority(), RenderElementType::BIT64_DEPTH_BIT_SIZE); in CreateRenderKey()
642 const ResMesh mesh = renderElement.GetMesh(); in CreateRenderKey() local
645 if (mesh.IsValid() && model) in CreateRenderKey()
647 const Material* material = model->GetMaterial(mesh.GetMaterialIndex()); in CreateRenderKey()
649 renderKey.SetPriorityForSimpleMaterial(mesh.GetRenderPriority(), 0); in CreateRenderKey()