MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / HasAnyPostFx

Method HasAnyPostFx

Source/Engine/Renderer/RenderList.cpp:492–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492bool 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
505bool RenderList::HasAnyPostFx(const RenderContext& renderContext, MaterialPostFxLocation materialPostFx) const
506{

Callers 1

RenderInnerFunction · 0.80

Calls 5

EnumHasAnyFlagsFunction · 0.85
CountMethod · 0.45
GetMethod · 0.45
IsReadyMethod · 0.45
GetInfoMethod · 0.45

Tested by

no test coverage detected