net.Iris.PushModelMode
net.Iris.PushModelMode
#Overview
name: net.Iris.PushModelMode
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
0 = disabled but runtime togglable, 1 = enabled and not togglable, 2 = enabled but runtime togglable. Requires Net.IsPushModelEnabled is true and WITH_PUSH_MODEL > 0 to use push based dirtiness in the backwards compatibility mode.
It is referenced in 2
C++ source files.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/LegacyPushModel.cpp:20
Scope (from outer to inner):
file
namespace UE::Net::Private
Source code excerpt:
int IrisPushModelMode = 2;
static FAutoConsoleVariableRef CVarIrisPushModelMode(
TEXT("net.Iris.PushModelMode"),
IrisPushModelMode,
TEXT("0 = disabled but runtime togglable, 1 = enabled and not togglable, 2 = enabled but runtime togglable. Requires Net.IsPushModelEnabled is true and WITH_PUSH_MODEL > 0 to use push based dirtiness in the backwards compatibility mode."
));
void FNetHandleLegacyPushModelHelper::InitPushModel()
{
#Loc: <Workspace>/Engine/Plugins/Runtime/ReplicationSystemTestPlugin/Source/Private/Tests/ReplicationSystem/TestReplicationOperations.cpp:535
Scope (from outer to inner):
file
namespace UE::Net::Private
class class FTestReplicationOperationsForObjectsFixture : public FTestReplicationOperationsFixture
function virtual void SetUp
Source code excerpt:
virtual void SetUp() override
{
CvarIrisPushModel = IConsoleManager::Get().FindConsoleVariable(TEXT("net.Iris.PushModelMode"));
check(CvarIrisPushModel != nullptr && CvarIrisPushModel->IsVariableInt());
PushModelMode = CvarIrisPushModel->GetInt();
CvarIrisPushModel->Set(1, ECVF_SetByCode);
FTestReplicationOperationsFixture::SetUp();
}