Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.RGB.PirateInvasionShader Class Reference

Public Member Functions

 PirateInvasionShader (Color cannonBallColor, Color splashColor, Color waterColor, Color backgroundColor)
 
delegate void Processor (RgbDevice device, Fragment fragment, EffectDetailLevel quality, float time)
 
virtual bool IsTransparentAt (EffectDetailLevel quality)
 
virtual void Update (float elapsedTime)
 
virtual void Process (RgbDevice device, Fragment fragment, EffectDetailLevel quality, float time)
 

Public Attributes

readonly bool TransparentAtAnyDetailLevel
 

Private Member Functions

void ProcessLowDetail (RgbDevice device, Fragment fragment, EffectDetailLevel quality, float time)
 
void ProcessHighDetail (RgbDevice device, Fragment fragment, EffectDetailLevel quality, float time)
 
void BindProcessors ()
 
void BindProcessor (Processor processor, RgbProcessorAttribute attribute)
 

Private Attributes

readonly Vector4 _cannonBallColor
 
readonly Vector4 _splashColor
 
readonly Vector4 _waterColor
 
readonly Vector4 _backgroundColor
 
readonly List< BoundProcessor_processors = new List<BoundProcessor>(2)
 

Detailed Description

Definition at line 7 of file PirateInvasionShader.cs.


The documentation for this class was generated from the following file: