terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Apply() [3/3]

virtual void Terraria.Graphics.Shaders.HairShaderData.Apply ( Player player,
[Optional] DrawData? drawData )
inlinevirtual

Reimplemented in Terraria.GameContent.Dyes.TwilightHairDyeShaderData.

Definition at line 49 of file HairShaderData.cs.

50 {
52 !0 value = this._shader.Value;
53 float x = this._uColor.X;
54 float y = this._uColor.Y;
55 float z = this._uColor.Z;
56 !0 value2 = this._shader.Value;
57 float uSaturation = this._uSaturation;
58 !0 value3 = this._shader.Value;
59 float x2 = this._uSecondaryColor.X;
60 float y2 = this._uSecondaryColor.Y;
61 float z2 = this._uSecondaryColor.Z;
62 !0 value4 = this._shader.Value;
63 if ("uColor" == null)
64 {
65 }
66 !0 value5 = this._shader.Value;
67 float uOpacity = this._uOpacity;
68 !0 value6 = this._shader.Value;
69 float x3 = this._uTargetPosition.X;
70 float y3 = this._uTargetPosition.Y;
71 !0 value7 = this._shader.Value;
72 !0 value8 = this._shader.Value;
73 if ("uColor" == null)
74 {
75 }
76 Vector2 screenPosition = Main.screenPosition;
77 !0 value9 = this._shader.Value;
78 }
class f__AnonymousType0<< Count > j__TPar
readonly Ref< Effect > _shader
Definition ShaderData.cs:65
T Value
Definition Ref.cs:20

References Terraria.Graphics.Shaders.ShaderData._shader, Terraria.Graphics.Shaders.HairShaderData._shaderDisabled, Terraria.Graphics.Shaders.HairShaderData._uColor, Terraria.Graphics.Shaders.HairShaderData._uOpacity, Terraria.Graphics.Shaders.HairShaderData._uSaturation, Terraria.Graphics.Shaders.HairShaderData._uSecondaryColor, Terraria.Graphics.Shaders.HairShaderData._uTargetPosition, j__TPar, Terraria.Main.screenPosition, System.value, Terraria.Ref< T >.Value, Microsoft.Xna.Framework.Vector2.X, Microsoft.Xna.Framework.Vector3.X, Microsoft.Xna.Framework.Vector2.Y, Microsoft.Xna.Framework.Vector3.Y, and Microsoft.Xna.Framework.Vector3.Z.