terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Material.cs
Go to the documentation of this file.
1using System;
9
10namespace UnityEngine
11{
12 [NativeHeader("Runtime/Shaders/Material.h")]
13 [NativeHeader("Runtime/Graphics/ShaderScriptBindings.h")]
14 [global::Cpp2ILInjected.Token(Token = "0x200005E")]
15 public class Material : Object
16 {
17 [FreeFunction("MaterialScripting::CreateWithShader")]
18 [global::Cpp2ILInjected.Token(Token = "0x6000196")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1F74064", Offset = "0x1F74064", Length = "0x44")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
22 [MethodImpl(4096)]
23 private static extern void CreateWithShader([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader);
24
25 [FreeFunction("MaterialScripting::CreateWithMaterial")]
26 [global::Cpp2ILInjected.Token(Token = "0x6000197")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1F740A8", Offset = "0x1F740A8", Length = "0x44")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
30 [MethodImpl(4096)]
31 private static extern void CreateWithMaterial([Writable] Material self, [NotNull("ArgumentNullException")] Material source);
32
33 [FreeFunction("MaterialScripting::CreateWithString")]
34 [global::Cpp2ILInjected.Token(Token = "0x6000198")]
35 [global::Cpp2ILInjected.Address(RVA = "0x1F740EC", Offset = "0x1F740EC", Length = "0x3C")]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
38 [MethodImpl(4096)]
39 private static extern void CreateWithString([Writable] Material self);
40
41 [global::Cpp2ILInjected.Token(Token = "0x6000199")]
42 [global::Cpp2ILInjected.Address(RVA = "0x1F74128", Offset = "0x1F74128", Length = "0x90")]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.PixelShader", Member = "LoadPass", MemberParameters = new object[]
44 {
45 "System.Collections.Generic.List`1<EffectPass>",
46 typeof(string)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.ScreenShader", Member = "LoadPass", MemberParameters = new object[]
49 {
50 "System.Collections.Generic.List`1<EffectPass>",
51 typeof(string)
52 }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.TileShader", Member = "LoadPass", MemberParameters = new object[]
54 {
55 "System.Collections.Generic.List`1<EffectPass>",
56 typeof(string)
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", "System.Collections.Generic.List`1<MaterialEntry>", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D" }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.TouchSprite", Member = "CreateSpriteRenderer", MemberParameters = new object[]
60 {
63 typeof(int)
64 }, ReturnType = typeof(SpriteRenderer))]
65 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
66 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
68 public Material(Shader shader)
69 {
70 throw null;
71 }
72
74 [global::Cpp2ILInjected.Token(Token = "0x600019A")]
75 [global::Cpp2ILInjected.Address(RVA = "0x1F741B8", Offset = "0x1F741B8", Length = "0x90")]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "MaterialExtensions", Member = "CloneMaterial", MemberParameters = new object[] { typeof(Material) }, ReturnType = typeof(Material))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.EffectPass", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.Effect", "Microsoft.Xna.Framework.Graphics.EffectPass" }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.EffectPass", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.EffectPass", "Terraria.Graphics.Shaders.ShaderData" }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.StencilMaterial", Member = "Add", MemberParameters = new object[]
80 {
82 typeof(int),
86 typeof(int),
87 typeof(int)
88 }, ReturnType = typeof(Material))]
89 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
90 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
93 {
94 throw null;
95 }
96
98 [Obsolete("Creating materials from shader source string is no longer supported. Use Shader assets instead.", false)]
99 [global::Cpp2ILInjected.Token(Token = "0x600019B")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1F74248", Offset = "0x1F74248", Length = "0x80")]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
104 public Material(string contents)
105 {
106 throw null;
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x17000053")]
110 public extern Shader shader
111 {
112 [global::Cpp2ILInjected.Token(Token = "0x600019C")]
113 [global::Cpp2ILInjected.Address(RVA = "0x1F742C8", Offset = "0x1F742C8", Length = "0x3C")]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", "System.Collections.Generic.List`1<MaterialEntry>", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D" }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
117 [MethodImpl(4096)]
118 get;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x17000054")]
122 public Color color
123 {
124 [global::Cpp2ILInjected.Token(Token = "0x600019D")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1F74304", Offset = "0x1F74304", Length = "0x8C")]
126 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InterfaceMovement.Button", Member = "Update", ReturnType = typeof(void))]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "GetColorImpl", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "GetColor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Color))]
131 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
132 get
133 {
134 throw null;
135 }
136 [global::Cpp2ILInjected.Token(Token = "0x600019E")]
137 [global::Cpp2ILInjected.Address(RVA = "0x1F74424", Offset = "0x1F74424", Length = "0xD4")]
138 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "VirtualDeviceExample.VirtualDeviceExample", Member = "Update", ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "TouchExample.CubeController", Member = "Update", ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "MultiplayerWithBindingsExample.Player", Member = "Update", ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "MultiplayerBasicExample.Player", Member = "Update", ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InterfaceMovement.Button", Member = "Update", ReturnType = typeof(void))]
144 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "BindingsExample.BindingsExample", Member = "Update", ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "BasicExample.BasicExample", Member = "Update", ReturnType = typeof(void))]
146 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "SetColorImpl", MemberParameters = new object[]
148 {
149 typeof(int),
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "SetColor", MemberParameters = new object[]
153 {
154 typeof(string),
156 }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
158 set
159 {
160 throw null;
161 }
162 }
163
164 [global::Cpp2ILInjected.Token(Token = "0x17000055")]
165 public Texture mainTexture
166 {
167 [global::Cpp2ILInjected.Token(Token = "0x600019F")]
168 [global::Cpp2ILInjected.Address(RVA = "0x1F74578", Offset = "0x1F74578", Length = "0xB0")]
169 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
170 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Image", Member = "get_mainTexture", ReturnType = typeof(Texture))]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.RawImage", Member = "get_mainTexture", ReturnType = typeof(Texture))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.Text", Member = "get_mainTexture", ReturnType = typeof(Texture))]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "GetTexture", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Texture))]
175 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
176 get
177 {
178 throw null;
179 }
180 }
181
182 [NativeName("GetFirstPropertyNameIdByAttributeFromScript")]
183 [global::Cpp2ILInjected.Token(Token = "0x60001A0")]
184 [global::Cpp2ILInjected.Address(RVA = "0x1F74390", Offset = "0x1F74390", Length = "0x44")]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
187 [MethodImpl(4096)]
189
190 [NativeName("HasPropertyFromScript")]
191 [global::Cpp2ILInjected.Token(Token = "0x60001A1")]
192 [global::Cpp2ILInjected.Address(RVA = "0x1F746DC", Offset = "0x1F746DC", Length = "0x44")]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", Member = ".ctor", MemberParameters = new object[] { typeof(Material) }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
196 [MethodImpl(4096)]
197 public extern bool HasProperty(int nameID);
198
199 [global::Cpp2ILInjected.Token(Token = "0x60001A2")]
200 [global::Cpp2ILInjected.Address(RVA = "0x1F74720", Offset = "0x1F74720", Length = "0x70")]
201 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
202 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.StencilMaterial", Member = "Add", MemberParameters = new object[]
203 {
205 typeof(int),
209 typeof(int),
210 typeof(int)
211 }, ReturnType = typeof(Material))]
212 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
214 public bool HasProperty(string name)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x17000056")]
220 public extern int renderQueue
221 {
222 [NativeName("SetCustomRenderQueue")]
223 [global::Cpp2ILInjected.Token(Token = "0x60001A3")]
224 [global::Cpp2ILInjected.Address(RVA = "0x1F74790", Offset = "0x1F74790", Length = "0x44")]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GeometryBuffer", Member = "RenderAndFlush", ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "GetMaterial", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Material))]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "DrawGeometryWithSubMeshes", MemberParameters = new object[]
228 {
229 "VertexData[]",
230 "System.Int16[]",
231 typeof(int),
232 typeof(int),
233 "Microsoft.Xna.Framework.Vector3",
234 "Microsoft.Xna.Framework.Vector3",
235 "System.Collections.Generic.List`1<Material>",
236 "System.Collections.Generic.List`1<SubMeshDescriptor>"
237 }, ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
239 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
240 [MethodImpl(4096)]
241 set;
242 }
243
244 [global::Cpp2ILInjected.Token(Token = "0x60001A4")]
245 [global::Cpp2ILInjected.Address(RVA = "0x1F747D4", Offset = "0x1F747D4", Length = "0x44")]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", "System.Collections.Generic.List`1<MaterialEntry>", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D" }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = "SetupTrimming", MemberParameters = new object[]
248 {
251 }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.StencilMaterial", Member = "Add", MemberParameters = new object[]
253 {
255 typeof(int),
259 typeof(int),
260 typeof(int)
261 }, ReturnType = typeof(Material))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
263 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
264 [MethodImpl(4096)]
265 public extern void EnableKeyword(string keyword);
266
267 [global::Cpp2ILInjected.Token(Token = "0x60001A5")]
268 [global::Cpp2ILInjected.Address(RVA = "0x1F74818", Offset = "0x1F74818", Length = "0x44")]
269 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = "ClearTrimming", ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.StencilMaterial", Member = "Add", MemberParameters = new object[]
271 {
273 typeof(int),
277 typeof(int),
278 typeof(int)
279 }, ReturnType = typeof(Material))]
280 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
281 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
282 [MethodImpl(4096)]
283 public extern void DisableKeyword(string keyword);
284
285 [NativeName("SetFloatFromScript")]
286 [global::Cpp2ILInjected.Token(Token = "0x60001A6")]
287 [global::Cpp2ILInjected.Address(RVA = "0x1F7485C", Offset = "0x1F7485C", Length = "0x54")]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
289 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
290 [MethodImpl(4096)]
291 private extern void SetFloatImpl(int name, float value);
292
293 [NativeName("SetColorFromScript")]
294 [global::Cpp2ILInjected.Token(Token = "0x60001A7")]
295 [global::Cpp2ILInjected.Address(RVA = "0x1F748B0", Offset = "0x1F748B0", Length = "0x5C")]
296 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
297 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "set_color", MemberParameters = new object[] { typeof(Color) }, ReturnType = typeof(void))]
298 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "SetColor", MemberParameters = new object[]
299 {
300 typeof(string),
302 }, ReturnType = typeof(void))]
303 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "SetColor", MemberParameters = new object[]
304 {
305 typeof(int),
307 }, ReturnType = typeof(void))]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "SetVector", MemberParameters = new object[]
309 {
310 typeof(int),
312 }, ReturnType = typeof(void))]
313 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
314 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
315 private void SetColorImpl(int name, Color value)
316 {
317 throw null;
318 }
319
320 [NativeName("SetTextureFromScript")]
321 [global::Cpp2ILInjected.Token(Token = "0x60001A8")]
322 [global::Cpp2ILInjected.Address(RVA = "0x1F74960", Offset = "0x1F74960", Length = "0x54")]
323 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
325 [MethodImpl(4096)]
326 private extern void SetTextureImpl(int name, Texture value);
327
328 [NativeName("GetColorFromScript")]
329 [global::Cpp2ILInjected.Token(Token = "0x60001A9")]
330 [global::Cpp2ILInjected.Address(RVA = "0x1F749B4", Offset = "0x1F749B4", Length = "0x60")]
331 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "get_color", ReturnType = typeof(Color))]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "GetColor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Color))]
334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "GetColor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
335 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
336 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
338 {
339 throw null;
340 }
341
342 [NativeName("GetTextureFromScript")]
343 [global::Cpp2ILInjected.Token(Token = "0x60001AA")]
344 [global::Cpp2ILInjected.Address(RVA = "0x1F74A68", Offset = "0x1F74A68", Length = "0x44")]
345 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
346 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
347 [MethodImpl(4096)]
348 private extern Texture GetTextureImpl(int name);
349
350 [global::Cpp2ILInjected.Token(Token = "0x60001AB")]
351 [global::Cpp2ILInjected.Address(RVA = "0x1F74AAC", Offset = "0x1F74AAC", Length = "0x80")]
352 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.TouchSprite", Member = "CreateSpriteRenderer", MemberParameters = new object[]
354 {
356 typeof(Sprite),
357 typeof(int)
358 }, ReturnType = typeof(SpriteRenderer))]
359 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.UI.StencilMaterial", Member = "Add", MemberParameters = new object[]
360 {
362 typeof(int),
366 typeof(int),
367 typeof(int)
368 }, ReturnType = typeof(Material))]
369 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
370 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
371 public void SetFloat(string name, float value)
372 {
373 throw null;
374 }
375
376 [global::Cpp2ILInjected.Token(Token = "0x60001AC")]
377 [global::Cpp2ILInjected.Address(RVA = "0x1F74B2C", Offset = "0x1F74B2C", Length = "0x54")]
378 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.PixelShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
379 {
380 "Microsoft.Xna.Framework.Graphics.EffectPass",
382 }, ReturnType = typeof(void))]
383 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.ScreenShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
384 {
385 "Microsoft.Xna.Framework.Graphics.EffectPass",
387 }, ReturnType = typeof(void))]
388 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.TileShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
389 {
390 "Microsoft.Xna.Framework.Graphics.EffectPass",
392 }, ReturnType = typeof(void))]
393 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", "System.Collections.Generic.List`1<MaterialEntry>", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D" }, ReturnType = typeof(void))]
394 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 27)]
395 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
396 public void SetFloat(int nameID, float value)
397 {
398 throw null;
399 }
400
401 [global::Cpp2ILInjected.Token(Token = "0x60001AD")]
402 [global::Cpp2ILInjected.Address(RVA = "0x1F744FC", Offset = "0x1F744FC", Length = "0x7C")]
403 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
404 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "set_color", MemberParameters = new object[] { typeof(Color) }, ReturnType = typeof(void))]
405 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "SetColorImpl", MemberParameters = new object[]
407 {
408 typeof(int),
410 }, ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
412 public void SetColor(string name, Color value)
413 {
414 throw null;
415 }
416
417 [global::Cpp2ILInjected.Token(Token = "0x60001AE")]
418 [global::Cpp2ILInjected.Address(RVA = "0x1F744F8", Offset = "0x1F744F8", Length = "0x4")]
419 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.PixelShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
420 {
421 "Microsoft.Xna.Framework.Graphics.EffectPass",
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.ScreenShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
425 {
426 "Microsoft.Xna.Framework.Graphics.EffectPass",
428 }, ReturnType = typeof(void))]
429 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 27)]
430 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "SetColorImpl", MemberParameters = new object[]
431 {
432 typeof(int),
434 }, ReturnType = typeof(void))]
435 public void SetColor(int nameID, Color value)
436 {
437 throw null;
438 }
439
440 [global::Cpp2ILInjected.Token(Token = "0x60001AF")]
441 [global::Cpp2ILInjected.Address(RVA = "0x1F74B80", Offset = "0x1F74B80", Length = "0x4")]
442 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ScreenPostProcessor", Member = "OnRenderImage", MemberParameters = new object[]
443 {
446 }, ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.PixelShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
448 {
449 "Microsoft.Xna.Framework.Graphics.EffectPass",
451 }, ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.ScreenShader", Member = "ApplyValuesToMaterial", MemberParameters = new object[]
453 {
454 "Microsoft.Xna.Framework.Graphics.EffectPass",
456 }, ReturnType = typeof(void))]
457 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = "SetupTrimming", MemberParameters = new object[]
458 {
461 }, ReturnType = typeof(void))]
462 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 41)]
463 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "SetColorImpl", MemberParameters = new object[]
464 {
465 typeof(int),
467 }, ReturnType = typeof(void))]
468 public void SetVector(int nameID, Vector4 value)
469 {
470 throw null;
471 }
472
473 [global::Cpp2ILInjected.Token(Token = "0x60001B0")]
474 [global::Cpp2ILInjected.Address(RVA = "0x1F74B84", Offset = "0x1F74B84", Length = "0x54")]
475 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ScreenPostProcessor", Member = "OnRenderImage", MemberParameters = new object[]
476 {
479 }, ReturnType = typeof(void))]
480 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialEntry", Member = ".ctor", MemberParameters = new object[] { "Microsoft.Xna.Framework.Graphics.MaterialBuffer.MaterialPartition", "System.Collections.Generic.List`1<MaterialEntry>", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D", "Microsoft.Xna.Framework.Graphics.Texture2D" }, ReturnType = typeof(void))]
481 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "GetMaterial", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Material))]
482 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 13)]
483 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
484 public void SetTexture(int nameID, Texture value)
485 {
486 throw null;
487 }
488
489 [global::Cpp2ILInjected.Token(Token = "0x60001B1")]
490 [global::Cpp2ILInjected.Address(RVA = "0x1F743D8", Offset = "0x1F743D8", Length = "0x4C")]
491 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
492 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "get_color", ReturnType = typeof(Color))]
493 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
494 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "GetColorImpl", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
495 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
496 public Color GetColor(string name)
497 {
498 throw null;
499 }
500
501 [global::Cpp2ILInjected.Token(Token = "0x60001B2")]
502 [global::Cpp2ILInjected.Address(RVA = "0x1F743D4", Offset = "0x1F743D4", Length = "0x4")]
503 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
504 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Material), Member = "GetColorImpl", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Color))]
506 {
507 throw null;
508 }
509
510 [global::Cpp2ILInjected.Token(Token = "0x60001B3")]
511 [global::Cpp2ILInjected.Address(RVA = "0x1F7466C", Offset = "0x1F7466C", Length = "0x70")]
512 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
513 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Material), Member = "get_mainTexture", ReturnType = typeof(Texture))]
514 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
515 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
516 public Texture GetTexture(string name)
517 {
518 throw null;
519 }
520
521 [global::Cpp2ILInjected.Token(Token = "0x60001B4")]
522 [global::Cpp2ILInjected.Address(RVA = "0x1F74628", Offset = "0x1F74628", Length = "0x44")]
523 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
524 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
526 {
527 throw null;
528 }
529
530 [global::Cpp2ILInjected.Token(Token = "0x60001B5")]
531 [global::Cpp2ILInjected.Address(RVA = "0x1F7490C", Offset = "0x1F7490C", Length = "0x54")]
532 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
533 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
534 [MethodImpl(4096)]
535 private extern void SetColorImpl_Injected(int name, ref Color value);
536
537 [global::Cpp2ILInjected.Token(Token = "0x60001B6")]
538 [global::Cpp2ILInjected.Address(RVA = "0x1F74A14", Offset = "0x1F74A14", Length = "0x54")]
539 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
540 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
541 [MethodImpl(4096)]
542 private extern void GetColorImpl_Injected(int name, out Color ret);
543 }
544}
class f__AnonymousType0<< Count > j__TPar
void SetColor(string name, Color value)
Definition Material.cs:412
void SetVector(int nameID, Vector4 value)
Definition Material.cs:468
Material(Shader shader)
Definition Material.cs:68
bool HasProperty(int nameID)
Material(Material source)
Definition Material.cs:92
static void CreateWithString([Writable] Material self)
Texture GetTexture(int nameID)
Definition Material.cs:525
void SetTextureImpl(int name, Texture value)
void SetTexture(int nameID, Texture value)
Definition Material.cs:484
void SetColor(int nameID, Color value)
Definition Material.cs:435
void SetFloat(int nameID, float value)
Definition Material.cs:396
void GetColorImpl_Injected(int name, out Color ret)
static void CreateWithShader([Writable] Material self, [NotNull("ArgumentNullException")] Shader shader)
void SetFloatImpl(int name, float value)
Texture GetTexture(string name)
Definition Material.cs:516
Texture GetTextureImpl(int name)
void SetFloat(string name, float value)
Definition Material.cs:371
bool HasProperty(string name)
Definition Material.cs:214
void SetColorImpl(int name, Color value)
Definition Material.cs:315
void SetColorImpl_Injected(int name, ref Color value)
void DisableKeyword(string keyword)
Color GetColor(string name)
Definition Material.cs:496
Material(string contents)
Definition Material.cs:104
static void CreateWithMaterial([Writable] Material self, [NotNull("ArgumentNullException")] Material source)
void EnableKeyword(string keyword)
int GetFirstPropertyNameIdByAttribute(ShaderPropertyFlags attributeFlag)
Color GetColor(int nameID)
Definition Material.cs:505
Color GetColorImpl(int name)
Definition Material.cs:337