Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros

◆ CacheEffectParameters()

void Microsoft.Xna.Framework.Graphics.AlphaTestEffect.CacheEffectParameters ( )
inlineprivate

Definition at line 248 of file AlphaTestEffect.cs.

249 {
250 textureParam = base.Parameters["Texture"];
251 diffuseColorParam = base.Parameters["DiffuseColor"];
252 alphaTestParam = base.Parameters["AlphaTest"];
253 fogColorParam = base.Parameters["FogColor"];
254 fogVectorParam = base.Parameters["FogVector"];
255 worldViewProjParam = base.Parameters["WorldViewProj"];
256 shaderIndexParam = base.Parameters["ShaderIndex"];
257 }

References Microsoft.Xna.Framework.Graphics.AlphaTestEffect.alphaTestParam, Microsoft.Xna.Framework.Graphics.AlphaTestEffect.diffuseColorParam, Microsoft.Xna.Framework.Graphics.AlphaTestEffect.fogColorParam, Microsoft.Xna.Framework.Graphics.AlphaTestEffect.fogVectorParam, Microsoft.Xna.Framework.Graphics.AlphaTestEffect.shaderIndexParam, Microsoft.Xna.Framework.Graphics.AlphaTestEffect.textureParam, and Microsoft.Xna.Framework.Graphics.AlphaTestEffect.worldViewProjParam.

Referenced by Microsoft.Xna.Framework.Graphics.AlphaTestEffect.AlphaTestEffect(), and Microsoft.Xna.Framework.Graphics.AlphaTestEffect.AlphaTestEffect().