public struct014c(int p0, Texture2D p1, enum0103 p2, enum0104 p3, TextureAddressMode p4) { this.f000197 = PrimitiveType.TriangleList; this.f00000b = p0; if ((p1 != null) && p1.IsDisposed) { throw new ObjectDisposedException("Cannot create render break with disposed Texture2D"); } this.f00004f = p1; this.f00002b = p2; this.f00002c = p3; this.f0000d5 = p4; }
public struct014c(int p0, c000075 p1) { this.f00000b = p0; this.f000197 = PrimitiveType.TriangleList; if (p1 != null) { if ((p1.m000064() != null) && p1.m000064().IsDisposed) { throw new ObjectDisposedException("The Sprite with the name " + p1.m000087() + " references a disposed texture of the name " + p1.m000064().Name + ". If you're using Screens you may have forgotten to remove a Sprite that was added in the Screen."); } this.f00004f = p1.m000064(); this.f00002b = p1.m000399(); this.f00002c = p1.m0000a3(); this.f0000d5 = p1.m00039a(); } else { this.f00004f = null; this.f00002b = enum0103.f00002b; this.f00002c = enum0104.f00002c; this.f0000d5 = TextureAddressMode.Clamp; } }
public void m000098(enum0103 p0) { this.f00002b = p0; }
public void m000001() { Renderer.m000065(this.m000064()); if ((this.m000064() == null) && (this.f00002b == enum0103.f00015b)) { this.f00002b = enum0103.f00015d; } Renderer.m000098(this.f00002b); Renderer.m000104(this.f00002c); Renderer.m000105(this.f0000d5); }