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

Public Member Functions

 PlanteraShader (Color bulbColor, Color vineColor, 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 _bulbColor
 
readonly Vector4 _vineColor
 
readonly Vector4 _backgroundColor
 
readonly List< BoundProcessor_processors = new List<BoundProcessor>(2)
 

Detailed Description

Definition at line 7 of file PlanteraShader.cs.


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