Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
     }
 }
Ejemplo n.º 3
0
 public void m000104(enum0104 p0)
 {
     this.f00002c = p0;
 }