Package org.mt4j.util.opengl

Examples of org.mt4j.util.opengl.GLTexture.destroy()


   
    //Delete openGL texture object
    if (this.getTexture() instanceof GLTexture){
      GLTexture tex = (GLTexture) this.getTexture();
      //Delete texture
      tex.destroy();
      this.setTexture(null);
      this.setTextureEnabled(false);
    }
    super.destroy();
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.