Lines Matching refs:mesh

81         IsCalculatingOnlyLayer1Functor(Model* model, ResMesh mesh)  in IsCalculatingOnlyLayer1Functor()
84 model->GetRenderLayerId(mesh) == ResMaterial::TRANSLUCENCY_KIND_LAYER1; in IsCalculatingOnlyLayer1Functor()
105 AlwaysCalculatingFunctor(Model* model, ResMesh mesh) in AlwaysCalculatingFunctor()
106 { NW_UNUSED_VARIABLE(model); NW_UNUSED_VARIABLE(mesh); } in AlwaysCalculatingFunctor()
133 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator()
137 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator()
169 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator()
174 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator()
220 result_type operator()(argument_type mesh) in operator()
222 NW_ASSERT(mesh.IsValid()); in operator()
223 if (calculateDepth.model->IsMeshVisible(mesh)) in operator()
225 … float depth = calculateDepth(mesh, camera, IsCalculating(calculateDepth.model, mesh)); in operator()
226 renderQueue->EnqueueMesh(mesh, calculateDepth.model, depth, layerId); in operator()
277 result_type operator()(argument_type mesh) in operator()
279 NW_ASSERT(mesh.IsValid()); in operator()
280 if (calculateDepth.model->IsMeshVisible(mesh)) in operator()
283 calculateDepth.model->GetRenderLayerId(mesh); in operator()
286 ? calculateDepth(mesh, camera, IsCalculating(translucencyKind)) in operator()
290 ElementType(mesh, calculateDepth.model), translucencyKind, depth, layerId); in operator()
342 const ResMesh mesh = element.GetMesh(); in operator()
345 element.GetModel()->GetMaterial(mesh.GetMaterialIndex())->GetOriginal(); in operator()
349 mesh.GetName(), in operator()
484 ResMesh mesh, in EnqueueMesh() argument
489 NW_ASSERT(mesh.IsValid()); in EnqueueMesh()
493 ElementType(mesh, model), model->GetRenderLayerId(mesh), depth, layerId); in EnqueueMesh()