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
Renderer.cs
Go to the documentation of this file.
1using System;
7
8namespace UnityEngine
9{
12 [NativeHeader("Runtime/Graphics/Renderer.h")]
13 [NativeHeader("Runtime/Graphics/GraphicsScriptBindings.h")]
14 [global::Cpp2ILInjected.Token(Token = "0x2000045")]
15 public class Renderer : Component
16 {
17 [FreeFunction(Name = "RendererScripting::GetMaterial", HasExplicitThis = true)]
18 [global::Cpp2ILInjected.Token(Token = "0x60000A0")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1F6D1C0", Offset = "0x1F6D1C0", Length = "0x3C")]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
21 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
22 [MethodImpl(4096)]
23 private extern Material GetMaterial();
24
25 [FreeFunction(Name = "RendererScripting::GetSharedMaterial", HasExplicitThis = true)]
26 [global::Cpp2ILInjected.Token(Token = "0x60000A1")]
27 [global::Cpp2ILInjected.Address(RVA = "0x1F6D1FC", Offset = "0x1F6D1FC", Length = "0x3C")]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
29 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
30 [MethodImpl(4096)]
31 private extern Material GetSharedMaterial();
32
33 [FreeFunction(Name = "RendererScripting::SetMaterial", HasExplicitThis = true)]
34 [global::Cpp2ILInjected.Token(Token = "0x60000A2")]
35 [global::Cpp2ILInjected.Address(RVA = "0x1F6D238", Offset = "0x1F6D238", Length = "0x44")]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
38 [MethodImpl(4096)]
39 private extern void SetMaterial(Material m);
40
41 [FreeFunction(Name = "RendererScripting::SetMaterialArray", HasExplicitThis = true)]
42 [global::Cpp2ILInjected.Token(Token = "0x60000A3")]
43 [global::Cpp2ILInjected.Address(RVA = "0x1F6D27C", Offset = "0x1F6D27C", Length = "0x44")]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
45 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
46 [MethodImpl(4096)]
47 private extern void SetMaterialArray([NotNull("ArgumentNullException")] Material[] m);
48
49 [global::Cpp2ILInjected.Token(Token = "0x17000021")]
50 public extern int sortingLayerID
51 {
52 [global::Cpp2ILInjected.Token(Token = "0x60000A4")]
53 [global::Cpp2ILInjected.Address(RVA = "0x1F6D2C0", Offset = "0x1F6D2C0", Length = "0x3C")]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.EventSystems.Physics2DRaycaster", Member = "Raycast", MemberParameters = new object[] { "UnityEngine.EventSystems.PointerEventData", "System.Collections.Generic.List`1<RaycastResult>" }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
57 [MethodImpl(4096)]
58 get;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x17000022")]
62 public extern int sortingOrder
63 {
64 [global::Cpp2ILInjected.Token(Token = "0x60000A5")]
65 [global::Cpp2ILInjected.Address(RVA = "0x1F6D2FC", Offset = "0x1F6D2FC", Length = "0x3C")]
66 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.EventSystems.Physics2DRaycaster", Member = "Raycast", MemberParameters = new object[] { "UnityEngine.EventSystems.PointerEventData", "System.Collections.Generic.List`1<RaycastResult>" }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
68 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
69 [MethodImpl(4096)]
70 get;
71 [global::Cpp2ILInjected.Token(Token = "0x60000A6")]
72 [global::Cpp2ILInjected.Address(RVA = "0x1F6D338", Offset = "0x1F6D338", Length = "0x44")]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.TouchSprite", Member = "CreateSpriteRenderer", MemberParameters = new object[]
74 {
77 typeof(int)
78 }, ReturnType = typeof(SpriteRenderer))]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
81 [MethodImpl(4096)]
82 set;
83 }
84
85 [global::Cpp2ILInjected.Token(Token = "0x17000023")]
87 {
88 [global::Cpp2ILInjected.Token(Token = "0x60000A7")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1F6D37C", Offset = "0x1F6D37C", Length = "0x44")]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "DrawGeometryWithSubMeshes", MemberParameters = new object[]
91 {
92 "VertexData[]",
93 "System.Int16[]",
94 typeof(int),
95 typeof(int),
96 "Microsoft.Xna.Framework.Vector3",
97 "Microsoft.Xna.Framework.Vector3",
98 "System.Collections.Generic.List`1<Material>",
99 "System.Collections.Generic.List`1<SubMeshDescriptor>"
100 }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
102 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
103 set
104 {
105 throw null;
106 }
107 }
108
109 [global::Cpp2ILInjected.Token(Token = "0x17000024")]
111 {
112 [global::Cpp2ILInjected.Token(Token = "0x60000A8")]
113 [global::Cpp2ILInjected.Address(RVA = "0x1F6D3C0", Offset = "0x1F6D3C0", Length = "0x3C")]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "VirtualDeviceExample.VirtualDeviceExample", Member = "Update", ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "TouchExample.CubeController", Member = "Update", ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "MultiplayerWithBindingsExample.Player", Member = "Update", ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "MultiplayerBasicExample.Player", Member = "Update", ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InterfaceMovement.Button", Member = "Update", ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "BindingsExample.BindingsExample", Member = "Update", ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "BasicExample.BasicExample", Member = "Update", ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
122 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
123 get
124 {
125 throw null;
126 }
127 [global::Cpp2ILInjected.Token(Token = "0x60000A9")]
128 [global::Cpp2ILInjected.Address(RVA = "0x1F6D3FC", Offset = "0x1F6D3FC", Length = "0x44")]
129 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GeometryBuffer", Member = "RenderAndFlush", ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "DrawGeometry", MemberParameters = new object[]
131 {
132 "VertexData[]",
133 "System.Int16[]",
134 typeof(int),
135 typeof(int),
136 "Microsoft.Xna.Framework.Vector3",
137 "Microsoft.Xna.Framework.Vector3"
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.Graphics.GraphicsDevice", Member = "DrawGeometry", MemberParameters = new object[] { "System.Collections.Generic.List`1<Vector3>", "System.Collections.Generic.List`1<Vector2>", "System.Collections.Generic.List`1<Vector4>", "System.Collections.Generic.List`1<Color32>", "System.Collections.Generic.List`1<Int32>", "Microsoft.Xna.Framework.Vector3", "Microsoft.Xna.Framework.Vector3" }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
142 set
143 {
144 throw null;
145 }
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x17000025")]
149 public Material sharedMaterial
150 {
151 [global::Cpp2ILInjected.Token(Token = "0x60000AA")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1F6D440", Offset = "0x1F6D440", Length = "0x3C")]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.TouchSprite", Member = "CreateSpriteRenderer", MemberParameters = new object[]
154 {
156 typeof(Sprite),
157 typeof(int)
158 }, ReturnType = typeof(SpriteRenderer))]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
160 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
161 get
162 {
163 throw null;
164 }
165 [global::Cpp2ILInjected.Token(Token = "0x60000AB")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1F6D47C", Offset = "0x1F6D47C", Length = "0x44")]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.TouchSprite", Member = "CreateSpriteRenderer", MemberParameters = new object[]
168 {
170 typeof(Sprite),
171 typeof(int)
172 }, ReturnType = typeof(SpriteRenderer))]
173 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
175 set
176 {
177 throw null;
178 }
179 }
180 }
181}
class f__AnonymousType0<< Count > j__TPar
Material GetSharedMaterial()
Material[] materials
Definition Renderer.cs:87
void SetMaterialArray([NotNull("ArgumentNullException")] Material[] m)
Material GetMaterial()
void SetMaterial(Material m)