import jaggl.OpenGL;

public class Class225_Sub14_Sub18 extends Class225_Sub14 implements Interface11 {

   int anInt10583;
   int anInt10584;
   int anInt10585;
   Class91 aClass91_10586;
   Class98 aClass98_10587;
   Class545_Sub1 aClass545_Sub1_10588;
   int anInt10589;
   static int[] anIntArray10590 = new int[1];


   public void method45(int var1) {
      OpenGL.glFramebufferRenderbufferEXT('\u8d40', var1, '\u8d41', this.anInt10584);
   }

   Class225_Sub14_Sub18(Class545_Sub1 var1, Class98 var2, Class91 var3, int var4, int var5, int var6) {
      this.aClass545_Sub1_10588 = var1;
      this.anInt10585 = var4;
      this.anInt10583 = var5;
      this.aClass98_10587 = var2;
      this.aClass91_10586 = var3;
      OpenGL.glGenRenderbuffersEXT(1, anIntArray10590, 0);
      this.anInt10584 = anIntArray10590[0];
      OpenGL.glBindRenderbufferEXT('\u8d41', this.anInt10584);
      OpenGL.glRenderbufferStorageMultisampleEXT('\u8d41', var6, Class545_Sub1.method14609(this.aClass98_10587, this.aClass91_10586), this.anInt10585, this.anInt10583);
      this.anInt10589 = this.anInt10585 * this.anInt10583 * this.aClass98_10587.anInt996 * 1946169797 * this.aClass91_10586.anInt906 * -2107221975;
   }

   public int method30() {
      return this.anInt10585;
   }

   public int method35() {
      return this.anInt10583;
   }

   public void method10() {
      if(this.anInt10584 > 0) {
         int[] var1 = new int[]{this.anInt10584};
         OpenGL.glDeleteRenderbuffersEXT(1, var1, 0);
         this.anInt10584 = 0;
      }

   }

   public void method8() {
      if(this.anInt10584 > 0) {
         int[] var1 = new int[]{this.anInt10584};
         OpenGL.glDeleteRenderbuffersEXT(1, var1, 0);
         this.anInt10584 = 0;
      }

   }

   void method16338() {
      if(this.anInt10584 > 0) {
         this.aClass545_Sub1_10588.method14558(this.anInt10584, this.anInt10589);
         this.anInt10584 = 0;
      }

   }

   public void finalize() throws Throwable {
      this.method16338();
      super.finalize();
   }

   public int method31() {
      return this.anInt10585;
   }

   public void method47(int var1) {
      OpenGL.glFramebufferRenderbufferEXT('\u8d40', var1, '\u8d41', this.anInt10584);
   }

   void method16339() {
      if(this.anInt10584 > 0) {
         this.aClass545_Sub1_10588.method14558(this.anInt10584, this.anInt10589);
         this.anInt10584 = 0;
      }

   }

   public int method29() {
      return this.anInt10583;
   }

   public void method9() {
      if(this.anInt10584 > 0) {
         int[] var1 = new int[]{this.anInt10584};
         OpenGL.glDeleteRenderbuffersEXT(1, var1, 0);
         this.anInt10584 = 0;
      }

   }

   public int method34() {
      return this.anInt10583;
   }

   public int method33() {
      return this.anInt10585;
   }

   void method16340() throws Throwable {
      this.method16338();
      super.finalize();
   }

   void method16341() throws Throwable {
      this.method16338();
      super.finalize();
   }

   void method16342() throws Throwable {
      this.method16338();
      super.finalize();
   }

   public int method32() {
      return this.anInt10585;
   }

   public void method46(int var1) {
      OpenGL.glFramebufferRenderbufferEXT('\u8d40', var1, '\u8d41', this.anInt10584);
   }

   public void method44(int var1) {
      OpenGL.glFramebufferRenderbufferEXT('\u8d40', var1, '\u8d41', this.anInt10584);
   }

   void method16343() {
      if(this.anInt10584 > 0) {
         this.aClass545_Sub1_10588.method14558(this.anInt10584, this.anInt10589);
         this.anInt10584 = 0;
      }

   }

   Class225_Sub14_Sub18(Class545_Sub1 var1, Class98 var2, Class91 var3, int var4, int var5) {
      this.aClass545_Sub1_10588 = var1;
      this.anInt10585 = var4;
      this.anInt10583 = var5;
      this.aClass98_10587 = var2;
      this.aClass91_10586 = var3;
      OpenGL.glGenRenderbuffersEXT(1, anIntArray10590, 0);
      this.anInt10584 = anIntArray10590[0];
      OpenGL.glBindRenderbufferEXT('\u8d41', this.anInt10584);
      OpenGL.glRenderbufferStorageEXT('\u8d41', Class545_Sub1.method14609(this.aClass98_10587, this.aClass91_10586), this.anInt10585, this.anInt10583);
      this.anInt10589 = this.anInt10585 * this.anInt10583 * this.aClass98_10587.anInt996 * 1946169797 * this.aClass91_10586.anInt906 * -2107221975;
   }
}
