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

Public Member Functions

 MoonShader (Color skyColor, Color moonRingColor, Color moonCoreColor)
 
 MoonShader (Color skyColor, Color moonColor)
 
 MoonShader (Color skyColor, Color moonRingColor, Color moonCoreColor, Color cloudColor)
 
override void Update (float elapsedTime)
 
delegate void Processor (RgbDevice device, Fragment fragment, EffectDetailLevel quality, float time)
 
virtual bool IsTransparentAt (EffectDetailLevel quality)
 
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 _moonCoreColor
 
readonly Vector4 _moonRingColor
 
readonly Vector4 _skyColor
 
readonly Vector4 _cloudColor
 
float _progress
 
readonly List< BoundProcessor_processors = new List<BoundProcessor>(2)
 

Detailed Description

Definition at line 7 of file MoonShader.cs.


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