fx.ScalabilityMaxUpdatesPerFrame

fx.ScalabilityMaxUpdatesPerFrame

#Overview

name: fx.ScalabilityMaxUpdatesPerFrame

This variable is created as a Console Variable (cvar).

It is referenced in 1 C++ source file.

#Summary

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraScalabilityManager.cpp:18

Scope: file

Source code excerpt:


static int32 GScalabilityMaxUpdatesPerFrame = 50;
static FAutoConsoleVariableRef CVarScalabilityMaxUpdatesPerFrame(TEXT("fx.ScalabilityMaxUpdatesPerFrame"), GScalabilityMaxUpdatesPerFrame, TEXT("Number of instances that can be processed per frame when updating scalability state. -1 for all of them. \n"), ECVF_Default);

static float GetScalabilityUpdatePeriod(ENiagaraScalabilityUpdateFrequency Frequency)
{
	switch (Frequency)
	{
	case ENiagaraScalabilityUpdateFrequency::High: return GScalabilityUpdateTime_High;