| 490 | } |
| 491 | |
| 492 | bool RenderList::HasAnyPostFx(const RenderContext& renderContext, PostProcessEffectLocation postProcess) const |
| 493 | { |
| 494 | if (EnumHasAnyFlags(renderContext.View.Flags, ViewFlags::CustomPostProcess)) |
| 495 | { |
| 496 | for (const PostProcessEffect* fx : renderContext.List->PostFx) |
| 497 | { |
| 498 | if (fx->Location == postProcess) |
| 499 | return true; |
| 500 | } |
| 501 | } |
| 502 | return false; |
| 503 | } |
| 504 | |
| 505 | bool RenderList::HasAnyPostFx(const RenderContext& renderContext, MaterialPostFxLocation materialPostFx) const |
| 506 | { |
no test coverage detected