tModLoader v2024.03
A mod to make and play Terraria mods
FilterManager Class Reference

Inherits EffectManager< Filter >.

Public Member Functions

void BeginCapture (RenderTarget2D screenTarget1, Color clearColor)
 
void BindTo (Preferences preferences)
 
bool CanCapture ()
 
void EndCapture (RenderTarget2D finalTexture, RenderTarget2D screenTarget1, RenderTarget2D screenTarget2, Color clearColor)
 
bool HasActiveFilter ()
 
override void OnActivate (Filter effect, Vector2 position)
 
void Update (GameTime gameTime)
 
- Public Member Functions inherited from EffectManager< Filter >
Activate (string name, Vector2 position=default(Vector2), params object[] args)
 
void Bind (string name, T effect)
 
void Deactivate (string name, params object[] args)
 
void Load ()
 
virtual void OnActivate (T effect, Vector2 position)
 
virtual void OnDeactivate (T effect)
 

Events

Action OnPostDraw
 

Additional Inherited Members

- Protected Attributes inherited from EffectManager< Filter >
bool _isLoaded
 
- Properties inherited from EffectManager< Filter >
bool IsLoaded [get]
 
this[string key] [get, set]