MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / process

Method process

Engine/source/Verve/Torque3D/VPostEffect.cpp:133–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void VPostEffectNetEvent::process( NetConnection *pConnection )
134{
135 PostEffect *postEffect;
136 if ( !Sim::findObject( mPostEffect, postEffect ) )
137 {
138 Con::warnf( "VPostEffectNetEvent::process() - Unable to find PostEffect Object '%s'", mPostEffect );
139 return;
140 }
141
142 if ( mEnabled )
143 {
144 // Enable Effect.
145 postEffect->enable();
146 }
147 else
148 {
149 // Disable Effect.
150 postEffect->disable();
151 }
152}

Callers

nothing calls this directly

Calls 4

findObjectFunction · 0.50
warnfFunction · 0.50
enableMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected