tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Graphics.Effects.Filter Class Reference

Inherits Terraria.Graphics.Effects.GameEffect.

Public Member Functions

 Filter (ScreenShaderData shader, EffectPriority priority=EffectPriority.VeryLow)
override void Activate (Vector2 position, params object[] args)
void Apply ()
override void Deactivate (params object[] args)
ScreenShaderData GetShader ()
bool IsActive ()
bool IsInUse ()
override bool IsVisible ()
void Update (GameTime gameTime)
- Public Member Functions inherited from Terraria.Graphics.Effects.GameEffect
abstract void Activate (Vector2 position, params object[] args)
abstract void Deactivate (params object[] args)
abstract bool IsVisible ()
void Load ()
virtual void OnLoad ()

Public Attributes

bool Active
bool IsHidden
- Public Attributes inherited from Terraria.Graphics.Effects.GameEffect
float Opacity

Additional Inherited Members

- Protected Attributes inherited from Terraria.Graphics.Effects.GameEffect
bool _isLoaded
EffectPriority _priority
- Properties inherited from Terraria.Graphics.Effects.GameEffect
bool IsLoaded [get]
EffectPriority Priority [get]

Member Function Documentation

◆ Activate()

override void Terraria.Graphics.Effects.Filter.Activate ( Vector2  position,
params object[]  args 

◆ Deactivate()

override void Terraria.Graphics.Effects.Filter.Deactivate ( params object[]  args)

◆ IsVisible()

override bool Terraria.Graphics.Effects.Filter.IsVisible ( )