/* Class460 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import jaggl.OpenGL;

public class Class460 implements Interface18, Interface16, Interface52
{
    int anInt5261;
    Class151_Sub2_Sub2 aClass151_Sub2_Sub2_5262;
    int anInt5263;
    Class116 aClass116_5264;
    Class155 aClass155_5265;
    int anInt5266;
    
    Class460(Class151_Sub2_Sub2 class151_sub2_sub2, Class116 class116,
	     Class155 class155, int i, int i_0_) {
	((Class460) this).aClass116_5264 = class116;
	((Class460) this).aClass155_5265 = class155;
	((Class460) this).anInt5263 = i;
	((Class460) this).anInt5261 = i_0_;
	((Class460) this).aClass151_Sub2_Sub2_5262 = class151_sub2_sub2;
	int[] is = new int[1];
	OpenGL.glGenRenderbuffersEXT(1, is, 0);
	((Class460) this).anInt5266 = is[0];
	OpenGL.glBindRenderbufferEXT(36161, ((Class460) this).anInt5266);
	OpenGL.glRenderbufferStorageEXT
	    (36161,
	     Class151_Sub2_Sub2.method10231(((Class460) this).aClass116_5264,
					    ((Class460) this).aClass155_5265),
	     i, i_0_);
    }
    
    Class460(Class151_Sub2_Sub2 class151_sub2_sub2, Class116 class116,
	     Class155 class155, int i, int i_1_, int i_2_) {
	((Class460) this).aClass116_5264 = class116;
	((Class460) this).aClass155_5265 = class155;
	((Class460) this).anInt5263 = i;
	((Class460) this).anInt5261 = i_1_;
	((Class460) this).aClass151_Sub2_Sub2_5262 = class151_sub2_sub2;
	int[] is = new int[1];
	OpenGL.glGenRenderbuffersEXT(1, is, 0);
	((Class460) this).anInt5266 = is[0];
	OpenGL.glBindRenderbufferEXT(36161, ((Class460) this).anInt5266);
	OpenGL.glRenderbufferStorageMultisampleEXT
	    (36161, i_2_,
	     Class151_Sub2_Sub2.method10231(((Class460) this).aClass116_5264,
					    ((Class460) this).aClass155_5265),
	     i, i_1_);
    }
    
    void method5675() {
	if (((Class460) this).anInt5266 != 0) {
	    ((Class460) this).aClass151_Sub2_Sub2_5262.method10221
		(((Class460) this).anInt5266,
		 (((Class460) this).anInt5263 * ((Class460) this).anInt5261
		  * (((Class460) this).aClass155_5265.anInt1895 * -822141047)
		  * (((Class460) this).aClass116_5264.anInt1453
		     * -1152771135)));
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    public int method38() {
	return ((Class460) this).anInt5261;
    }
    
    public void method44(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    ((Class460) this).anInt5266);
    }
    
    public int method26() {
	return ((Class460) this).anInt5263;
    }
    
    void method5676() {
	if (((Class460) this).anInt5266 != 0) {
	    ((Class460) this).aClass151_Sub2_Sub2_5262.method10221
		(((Class460) this).anInt5266,
		 (((Class460) this).anInt5263 * ((Class460) this).anInt5261
		  * (((Class460) this).aClass155_5265.anInt1895 * -822141047)
		  * (((Class460) this).aClass116_5264.anInt1453
		     * -1152771135)));
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    void method5677() throws Throwable {
	method5676();
	super.finalize();
    }
    
    public int method4() {
	return ((Class460) this).anInt5261;
    }
    
    public int method5() {
	return ((Class460) this).anInt5261;
    }
    
    public void method45(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    ((Class460) this).anInt5266);
    }
    
    public void method81() {
	if (((Class460) this).anInt5266 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class460) this).anInt5266;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    public void method79() {
	if (((Class460) this).anInt5266 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class460) this).anInt5266;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    void method5678() throws Throwable {
	method5676();
	super.finalize();
    }
    
    public int method6() {
	return ((Class460) this).anInt5261;
    }
    
    public int method1() {
	return ((Class460) this).anInt5263;
    }
    
    public int method21() {
	return ((Class460) this).anInt5263;
    }
    
    public void method46(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    ((Class460) this).anInt5266);
    }
    
    void method5679() {
	if (((Class460) this).anInt5266 != 0) {
	    ((Class460) this).aClass151_Sub2_Sub2_5262.method10221
		(((Class460) this).anInt5266,
		 (((Class460) this).anInt5263 * ((Class460) this).anInt5261
		  * (((Class460) this).aClass155_5265.anInt1895 * -822141047)
		  * (((Class460) this).aClass116_5264.anInt1453
		     * -1152771135)));
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    public void method80() {
	if (((Class460) this).anInt5266 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class460) this).anInt5266;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class460) this).anInt5266 = 0;
	}
    }
    
    public void finalize() throws Throwable {
	method5676();
	super.finalize();
    }
    
    public void method43(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    ((Class460) this).anInt5266);
    }
}
