mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
postfx throttling
don't execute shadercont updates via callback more than the standard tick don't execute preprocess more than once, unless explicitly reloading
This commit is contained in:
parent
2a9aa3a9d5
commit
091b75930b
2 changed files with 33 additions and 21 deletions
|
|
@ -215,6 +215,7 @@ protected:
|
|||
/// Parent and sibling PostEffects in the chain are still processed.
|
||||
/// This is intended for debugging purposes.
|
||||
bool mSkip;
|
||||
bool mPreProcessed;
|
||||
|
||||
bool mOneFrameOnly;
|
||||
bool mOnThisFrame;
|
||||
|
|
@ -323,6 +324,7 @@ protected:
|
|||
|
||||
EffectConstTable mEffectConsts;
|
||||
|
||||
PlatformTimer* mConstUpdateTimer;
|
||||
///
|
||||
virtual void _updateScreenGeometry( const Frustum &frustum,
|
||||
GFXVertexBufferHandle<PFXVertex> *outVB );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue