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

◆ GetMaterial()

Material Microsoft.Xna.Framework.Graphics.GraphicsDevice.GetMaterial ( int offset)
inline

Definition at line 699 of file GraphicsDevice.cs.

700 {
701 Texture2D[] textures = this.Textures;
703 object <Tag>k__BackingField = textures.<Tag>k__BackingField;
704 SurfaceFormat format = textures._format;
705 int sortingKey = textures._sortingKey;
706 if (textures == null)
707 {
708 }
709 if (textures != null)
710 {
712 object <Tag>k__BackingField2 = textures2.<Tag>k__BackingField;
713 if (textures2 == null)
714 {
715 }
716 GraphicsDevice graphicsDevice = textures2.graphicsDevice;
717 if (<Tag>k__BackingField2 != null)
718 {
719 }
720 }
721 Material material;
722 return material;
723 }
class f__AnonymousType0<< Count > j__TPar
GraphicsCapabilities< GraphicsCapabilities > k__BackingField

References Microsoft.Xna.Framework.Graphics.Texture._format, System.format, j__TPar, Microsoft.Xna.Framework.Graphics.GraphicsDevice.k__BackingField, System.Name, and Microsoft.Xna.Framework.Graphics.GraphicsDevice.Textures.

Referenced by Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawGeometry(), and Microsoft.Xna.Framework.Graphics.GraphicsDevice.DrawGeometry().