Lines Matching refs:mesh
83 IsCalculatingOnlyLayer1Functor(Model* model, ResMesh mesh) in IsCalculatingOnlyLayer1Functor()
86 model->GetRenderLayerId(mesh) == ResMaterial::TRANSLUCENCY_KIND_LAYER1; in IsCalculatingOnlyLayer1Functor()
107 AlwaysCalculatingFunctor(Model* model, ResMesh mesh) in AlwaysCalculatingFunctor()
108 { NW_UNUSED_VARIABLE(model); NW_UNUSED_VARIABLE(mesh); } in AlwaysCalculatingFunctor()
135 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator()
139 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator()
171 float operator ()(ResMesh mesh, const Camera& camera, IsCalculating isCalculating) const in operator()
176 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator()
222 result_type operator()(argument_type mesh) in operator()
224 NW_ASSERT(mesh.IsValid()); in operator()
225 if (calculateDepth.model->IsMeshVisible(mesh)) in operator()
227 … float depth = calculateDepth(mesh, camera, IsCalculating(calculateDepth.model, mesh)); in operator()
228 renderQueue->EnqueueMesh(mesh, calculateDepth.model, depth, layerId); in operator()
279 result_type operator()(argument_type mesh) in operator()
281 NW_ASSERT(mesh.IsValid()); in operator()
282 if (calculateDepth.model->IsMeshVisible(mesh)) in operator()
285 calculateDepth.model->GetRenderLayerId(mesh); in operator()
288 ? calculateDepth(mesh, camera, IsCalculating(translucencyKind)) in operator()
292 ElementType(mesh, calculateDepth.model), translucencyKind, depth, layerId); in operator()
344 const ResMesh mesh = element.GetMesh(); in operator()
347 element.GetModel()->GetMaterial(mesh.GetMaterialIndex())->GetOriginal(); in operator()
351 mesh.GetName(), in operator()
486 ResMesh mesh, in EnqueueMesh() argument
491 NW_ASSERT(mesh.IsValid()); in EnqueueMesh()
495 ElementType(mesh, model), model->GetRenderLayerId(mesh), depth, layerId); in EnqueueMesh()