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

Public Member Functions

 WormShader ()
 
 WormShader (Color skinColor, Color eyeColor, Color innerEyeColor)
 
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 _skinColor
 
readonly Vector4 _eyeColor
 
readonly Vector4 _innerEyeColor
 
readonly List< BoundProcessor_processors = new List<BoundProcessor>(2)
 

Detailed Description

Definition at line 7 of file WormShader.cs.


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