qualityRunsEffect
qualityRunsEffect(
profile,effectType):boolean
Defined in: sdk/src/postprocess/qualityFilter.ts:44
Whether a quality level runs an effect, by the effect’s type ('ssao', 'bloom'): the one answer a game’s settings screen,
a tool or the engine itself should read, rather than each looking through skipEffects. The list is not the whole rule:
a level with post-processing off runs none, and one that smooths with temporal anti-aliasing runs TAA whatever it skips
and never FXAA. An effect made of several passes runs when any of them does. null is no level in force: everything runs.
Parameters
Section titled “Parameters”profile
Section titled “profile”Readonly<QualityProfile> | null
effectType
Section titled “effectType”string
Returns
Section titled “Returns”boolean